If you found this task it means we are looking for you!
Note: To clone this repository you will need GIT-LFS
- Fork this repo
- Do your best
- Prepare a pull request and let us know that you are done
- Design should be recreated as closely as possible.
- Design must be responsive.
- Use bootstrap css
- Use a CSS pre-processor (SCSS preferred) or CSS-in-JS library (styled-components preferred)
- Use ReactJS
- This must be a single page application. Use React Router for frontend routing
- Implement login by sending an authorization request (
POST
) to http://playground.tesonet.lt/v1/tokens to generate a token (don't forget to pass Content-Type):
{"username": "tesonet", "password": "partyanimal"}
- Save the newly-created token to the local storage
- Use the token to retrieve the server list from http://playground.tesonet.lt/v1/servers , order the results by
distance
andname
. - Implement logout
- Your app must work on all modern browsers and IE11+
- Use JS bundler (Webpack preferred)
- Use npm scripts or gulp for running tasks
- Use a unit testing library (Jest preferred)
- Do not commit the build
- Structure! WE LOVE STRUCTURE!
- Maybe You have an idea how it should interact with users? Do it! Its on you!
- Have fun!