API REST simples para gerenciar tarefas
- Node.js instalado
npm inode index.jsAbra o nevegador em: http://localhost:3000
| Método | Endpoint | Descrição |
|---|---|---|
| GET | /tarefas |
Lista todas as tarefas |
| GET | /tarefas/:id |
Busca uma tarefa específica |
| GET | /tarefas?status= |
Busca tarefas por status |
| POST | /tarefas |
Cria uma nova tarefa |
| PUT | /tarefa/:id |
Atualiza uma tarefa existente |
| DELETE | /tarefa/:id |
Remove uma tarefa |
- Node.js
- Express
- Os dados são armazenados em memória (reiniciar o servidor apaga tudo)