Skip to content

sergeirudz/test-finnplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinnPlay

Start project

  • Run Server & Client simultaneously
  • Login with
    • user: player1
    • pass: player1

Server

  • cd server
  • nvm use
  • npm i
  • npm run start:dev

Client

  • cd client
  • nvm use
  • npm i
  • npm run dev

Info

Time Spent

Time Spent

Postman Test API

Postman collection

Old info

Task

You need to develop an application that allows users to filter games by multiple criteria.

Description

The application consists of a server and a client parts. The server implements an API to communicate with the client (authenticate users, transfer data, ...). A user should log in as player they will see an interface with a list of games and a game filter.

Pages

Login

Two users are allowed:

  • player1:player1
  • player2:player2

Player view

The page displays the list of games and the game filter. If a filter is configured, only games that match the filter criteria should be displayed, otherwise all games should be displayed. Games that don't belong to any group shouldn't be displayed at all, even if the filter is not configured

Possible actions
  1. Set filter
  2. Set sorting
  3. Set number of columns in the game list (hidden on mobile, always 2 columns)
  4. Reset filter
Filter criteria
  • the name of a game (input field)
  • game provider (multiple checkbox)
  • game groups (multiple checkbox)

Requirements

  1. Client-side should be written using React. You can use any starter kit if you want, like Create React App or Vite
  2. You can use CSS or SCSS for styles
  3. Interface should be responsive. Mobile breakpoint is 428px
  4. Filtration should be implemented on the client
  5. Please, do not use any UI libraries for React, except react-select
  6. Server-side should be written on Node.js using any framework you like.
  7. User sessions should be stored on the server (in memory)
  8. No database is required. Keep all data in memory
  9. Using TypeScript will be considered a plus
  10. Post your code to github or bitbucket. Add readme how to run the application

Initial data is in data.json file Link to the design https://www.figma.com/file/totoTYpycpBnizdqV7nEUu/gamelist_2?node-id=0%3A1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published