Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 910 Bytes

CONTRIBUTING.md

File metadata and controls

15 lines (13 loc) · 910 Bytes

Contributing

To send a pull request of a new api example, just follow these rules:

  • The project's name should be named as: web_module-db_module-api;
  • The project must have a task CRUD, using these endpoints:
    • GET /tasks: List all tasks;
    • GET /tasks/:taskId: Find a task;
    • POST /tasks: Create a task;
    • PUT /tasks/:taskId: Update a task;
    • DELETE /tasks/:taskId: Delete a task;
  • All code must use ES6 implementation;
  • The project must have tests for these routes using mocha and supertest.
  • You can copy and modify your project, using these project as examples.
  • And don't forget to include your name into collaborators list