Skip to content

Latest commit

 

History

History
92 lines (46 loc) · 1.48 KB

README.md

File metadata and controls

92 lines (46 loc) · 1.48 KB

GoStack

# My Projects API - GoStack10 - Desafio 01

MIT License

API to management projects and our tasks

Project from the first challenge of rocketseat

GoStack10 - RocketSeat

Technologies

Node.js

ExpressJS

Required

Install

git clone https://github.com/PauloFelipeM/MyProjects.git

cd /myprojects/ -> "npm install" or "yarn install"

Usage

Inside folder of the project run: "yarn dev" or "npm run dev"

🚩 Routes

Get all projects

Method: GET

URL EXEMPLE: http://myapi.com/projects

Get one project

Method: GET

URL EXEMPLE: http://myapi.com/projects/{project_id}

Create project

Method: POST

URL EXEMPLE: http://myapi.com/projects

Body request: id, title

Update project

Method: DELETE

URL EXEMPLE: http://myapi.com/projects/{project_id}

Body request: title

Delete project

Method: DELETE

URL EXEMPLE: http://myapi.com/projects/{project_id}

New task

Method: POST

URL EXEMPLE: http://myapi.com/projects/{project_id}/tasks

Body request: title

📝 License

This project is under the MIT license.

Created by Paulo Felipe Martins