Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.46 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.46 KB

Senior frontend developer task

If you found this task it means we are looking for you!

Note: To clone this repository you will need GIT-LFS

Few simple steps

  1. Fork this repo
  2. Do your best
  3. Prepare a pull request and let us know that you are done

Few simple requirements

Design

  • 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).

App

  • 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 and name.

  • Implement logout

Miscellaneous

  • Browser support must be great. All modern browsers plus IE9 and above.
  • Use a Javascript task-runner (gulp preferred).
  • Do not commit the build

Few tips

  • Structure! WE LOVE STRUCTURE!
  • Maybe You have an idea how it should interact with users? Do it! Its on you!
  • Have fun!