Recruitment-frontend
Tasks
-
Clone repository
-
Install dependencies, run dev server
-
Fix potential errors during start
-
Implement login method to
/users/login
- request body should have form:
{ "username": "username", "password": "password" }
-
Get data from
/areas/data
using token authorization and render on map inData
component using scatterplot method/login
endpoint should return token, which should be next passed in header in form:
Authorization: Token token_string
- similiar effect should be achieved:
- Get data from
/areas/secondary
using token authorization and render on map as polygon inSecondary
component- similiar effect should be achieved:
- Use loading spinner after login, there can be some demo delay used.
- Implement styles to list in
Home
component according to visualization below:- view should be responsive and UX-reactive (hover, click effects, transitions etc.)
- avatars can be any sample images from web
- Add navigation button over the map in lower left corner to go back to the home list:
-
Use Redux-toolkit to handle global application state
-
Use Redux-Saga to handle fetching data from API
-
Create test suite (units/integrations) for
Login
view
Additional remarks
- commits should be done after every particular change, names should be self-explanatory
- it's possible to use additional libraries in order to complete tasks