Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulopariz/client-system-back
APi feita em Node e Typescript para controlar cadastros de clientes.
https://github.com/paulopariz/client-system-back
fastify mongodb nodejs typescript
Last synced: 13 days ago
JSON representation
APi feita em Node e Typescript para controlar cadastros de clientes.
- Host: GitHub
- URL: https://github.com/paulopariz/client-system-back
- Owner: paulopariz
- Created: 2023-12-31T22:50:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-03T02:44:39.000Z (12 months ago)
- Last Synced: 2024-11-12T12:28:17.364Z (2 months ago)
- Topics: fastify, mongodb, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 11.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Client System API
## Tecnologias
- Node.js
- TypeScript
- Fastify
- MongoDB## Model
Customer {
id String @id @default(auto()) @map("_id") @db.ObjectId
name String
email String
status Boolean
created_at DateTime? @default(now())
updated_at DateTime? @default(now())@@map("customers")
}## Rotas
- GET /customers - retorna todos os clientes cadastrados
- POST /customer - cadastra um cliente
- PUT /customer/:id - atualiza um cliente
- DELETE /customer/id= - deleta um cliente## Front-End
- https://github.com/paulopariz/client-system-front## Testes no Postman
https://www.loom.com/share/e1b3077efd5d4530a797845fc7a15727?sid=d8862966-081b-4d16-8a72-0af9b31ebe44