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
container
for the login page - Use
container-fluid
for the server list page - Use bootstrap css
- Use a CSS pre-processor (SCSS preferred).
-
Use a component-based framework - AngularJS / ReactJS / Vue.js
-
This app needs to be single page. Use a javascript router to achieve this
-
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
- Browser support must be great. All modern browsers plus IE9 and above.
- Use a Javascript task-runner (gulp 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!