Challenge Overview
Challenge Overview
For the purpose of this challenge, we need to implement the REST api defined in the architecture documents.
We’ll provide the application design specification and the api definition in swagger format for you to complete the following tasks, you can also check the prototype and requirements spec to better understand the whole project:
- Implement the REST api in node.js and properly document all code
- Follow node.js best coding practices
- Use Azure SQL for database, you need to provide sql scripts to create the database and tables, clear database, and insert test data for quick testing
- Provide unit tests for the API
- Keep the swagger documentation in sync with the code
- Please keep in mind the login implementation is a mock and will be replaced later, so try to decouple it and make it easy to replace the login implementation later. Do not hardcode any data in the source code.
- The deployment environment is Azure, so make sure you code is compatible with that.
Node.js 8.11
REST
Azure SQL Database
Final Submission Guidelines
- Full api code (including tests) covering everything from the architecture
- Detailed readme in markdown format explaining how to configure, run and test the api
- Provide a separate verification guide for the API