Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Tracker API

API de gerenciamento de tarefas feita com Express.

Funcionalidades

  • Criar novas tarefas, com uma descrição para cada uma
  • Editar o status e a descrição das tarefas
  • Listar tarefas
  • Excluir tarefas

Tecnologias

  • NodeJS 24.11.1
  • Express 5.1.0
  • Dotenv 17.2.3
  • Nodemon 3.1.11

Como executar

git clone https://github.com/bernardoeuler/task-tracker-api.git
cd task-tracker-api
npm i
npm start

Endpoints

GET /tasks

Retorna todas as tarefas

Resposta

[
	{
		"id": "8a76ec78a4c8469687ff427ba7b4615d",
		"description": "Ir ao mercado",
		"status": "Pending",
		"createdAt": 1763236144826
	}
]

POST /tasks

Cria uma nova tarefa

Corpo da requisição

{
	"description": "Ir ao mercado"
}

Resposta

{
	"message": "Task created successfully"
}

PATCH /tasks/:id

Edita uma tarefa

Corpo da requisição

{
	"status": "Done"
}

Resposta

{
	"message": "Task updated successfully"
}

DELETE /tasks/:id

Exclui uma tarefa

Resposta

{
	"message": "Task deleted successfully"
}

About

API de gerenciamento de tarefas feita com Express.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages