Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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