/bootcamp-gostack-desafio01

This a challenge a gostack bootcamp by rocketseat. https://rocketseat.com.br/bootcamp

Primary LanguageJavaScript

Project API - Rocketseat Bootcamp challenge

This is a API to control projects and tasks. It's is a simple CRUD, implemented in Node JS. This is the first challenge presented by Rocketseat Bootcamp.

Language

Node JS

Packages

  • Express js
  • Nodemon

Data Structure

[
  {
    id: "1",
    title: 'New project',
    tasks: ['New task']
  }
]

Routes

  • POST /projects
    • Body format
{ id: "#", title: 'test', tasks: [] }
  • GET /projects

  • PUT /projects/:id

    • Body format
{ title: 'test'}
  • DELETE /projects/:id

  • POST /projects/:id/tasks

    • Body format
{ title: 'test'}