Skip to content

TLMgo/coding-challenge-login-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

TLM Ninja login API Coding challenge

Your mission: Create and deploy a django application exposing a REST API that will provide details on login attempts. Example details would be IP Address, Region, success and failure attempts count, anything else you think that sounds interesting.

Requirements

Backend

  • Expose a REST API
  • Have a way to authenticate with the API
  • Write unit tests to validate API behaviour

Frontend

  • Have a frontend app, page or django view to login and consume the API
  • List login attempts with details

The Rules

  • Deployed applicaton must be used on a secure connection (https)
  • Code must be open source
  • There must be a license for the code (of your choice)
  • You must use git (you can fork this repo or create a new one)
  • Commit messages should follow the seven rules of a great Git commit message
  • Your project should follow 12 factor principles

Deliverable

  • Link to git repository
  • Url to live application
  • Credentials so we can try your application

Advices

  • Try to design and implement your solution as you would do for real production code. Show us how you create clean, maintainable code that does awesome stuff. Build something that we'd be happy to contribute to. This is not a programming contest where dirty hacks win the game.
  • Feel free to add more features!
  • Documentation and maintainability is a plus.
  • Don't you forget those unit tests.
  • We don’t want to know if you can do exactly as asked (or everybody would have the same result). We want to know what you bring to the table when working on a project, what is your secret sauce. More features? Best solution? Thinking outside the box?
  • Make sure you apply security good practices. Ninjas hide their secrets because pirates will find them.