https://github.com/luizrebelatto/challenge-01-node-js-concepts
Aplicação para Gerenciamento de Tarefas
https://github.com/luizrebelatto/challenge-01-node-js-concepts
backend nodejs
Last synced: 3 months ago
JSON representation
Aplicação para Gerenciamento de Tarefas
- Host: GitHub
- URL: https://github.com/luizrebelatto/challenge-01-node-js-concepts
- Owner: Luizrebelatto
- Created: 2021-10-04T20:09:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T00:00:48.000Z (over 4 years ago)
- Last Synced: 2025-06-25T21:41:02.979Z (about 1 year ago)
- Topics: backend, nodejs
- Language: JavaScript
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To Do
Projeto |
Tecnologias |
Bibliotecas |
Funcionalidades |
Rotas |
Como Executar
## 💻 Projeto
Aplicação para Gerenciamento de Tarefas
## ✨ Tecnologias
- Node
- JavaScript
- Insomnia
- express
- nodemon
## 📚 Bibliotecas
- uuid
- supertest
- cors
- jest
## 💻 Funcionalidades
- Criar Usuário
- Cadastrar Tarefas
- Mostrar Tarefas
- Atualizar titulo e prazo da tarefa
- Alterar estado da tarefa
- Deletar tarefa
## ✔️ Requisitos
- [x] checksExistsUserAccount
- [x] checksExistsTodos
## 💻 Testes
- [x] Users should be able to create a new user
- [x] Users should not be able to create a new user when username already exists
- [x] Todos should be able to list all user's todo
- [x] Todos should be able to create a new todo
- [x] Todos should be able to update a todo
- [x] Todos should not be able to update a non existing todo
- [x] Todos should be able to mark a todo as done
- [x] Todos should not be able to mark a non existing todo as done
- [x] Todos should not be able to delete a non existing todo
- [x] Todos should be able to delete a todo
## 📱 Rotas
- POST → /users
- POST → /todos
- GET → /todos
- PUT → /todos/:id
- PATCH → /todos/:id/done
- DELETE → /todos/:id
## 🚀 Como executar
1) Clonar o projeto do github:
`git clone https://github.com/Luizrebelatto/challenge-01-node-js-concepts.git`
2) Abrir terminal(CMD/TERMINAL ou VSCode/CMD) e acessar a pasta raiz do projeto (pelo terminal).
3) Instalar Dependências:
execute `yarn`
4) Rodar Aplicação no http://localhost:3333:
`yarn dev`
5) Rodar testes:
`yarn test`
---
Desenvolvido por👋🏻:
- [Luiz Gabriel Rebelatto](https://www.linkedin.com/in/luiz-gabriel-rebelatto-bianchi-67097413b/)