TygeJ / Server-Testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server-Testing

Topics

  • TDD
  • sinon
  • chai
  • mocha
  • chai-http
  • done()
  • statics vs methods
  • documentation

Project

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.

Requirements

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 api.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.

About


Languages

Language:JavaScript 100.0%