- TDD
sinon
chai
mocha
chai-http
done()
- statics vs methods
- documentation
For this project you will be creating an API using a test driven development approach as well as writing documentation. As an example of good documentation you can reference GitHub's API docs: https://developer.github.com/v3/git/commits/
For this project you will be building a simple restful API for a database with collections of your choosing.
- Your API must have routes that use the following HTTP verbs: GET, PUT, POST, and DELETE.
- You must have documentation for each route. Write your documentation in a file called
documentation.md
. - You must have at least one test written for each route. Write your tests BEFORE you write the actual routes.
- Your models should have some methods/statics that are tested.
- You will need to have tests for your routes and for your models.