Prepare a pull request and let us know that you are done (feel free to add comment a about the task)
Requirements
Design
Design should be recreated as per provided design file. We aren't talking about pixel perfect, we know there are gazillion screen sizes these days, just follow best UI/UX patterns, don't invent new icons, colors or spacing and you're all good! ๐
Design must be mobile-firendly and responsive.
Use SVG's where possible
For CSS you can use whatever you need and feel comfortable with (vanilla CSS is an option too), but we strongly recommend these:
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):
Order the results of servers list by distance and name.
Implement logout (don't forget about the token in the storage)
Your app must work on all modern browsers and IE11+ ๐ข๐คท
Bonus
It is all good to use create-react-app as a starter, but if you have time and want showcase your skill - use JS bundler (Webpack preferred) ๐ฆ๐ฆ๐ฆ
We highly recommend following TDD patterns and showcasing your skills at writing tests(unit, integration, e2e - all are good)
Use npm scripts for running tasks, i.e. for development, clening build or etc.
Do validation of login fields and provide user friendly error messages if needed #UXmatters
Indicate loading state for the user whenever requests are in action and user might not understand they needs to wait
Few tips
Imagine this as a production level product at scale ๐
Structure! With great structure, comes great reusability!
Maybe You have an idea that is not in the task? Do it! It's on you!