API Desenvolvida com o intuito de gerenciar funcionários! (Challenge Seven)
- Typescript
- Express
- Postgress
- Prisma
- Nodejs
- Cadastrar funcionário
- Editar funcionário
- Deletar funcionário
- Listar funcionário
- Listar todos os funcionários
- [POST] "/employee"
- [PUT] "/employee/:id"
- [DELETE] "/employee/:id"
- [GET] "/employee/:id"
- [GET] "/employee"
.
├── src/
│ └── database
| └── environments
| └── modules
| └── Employeee
| └── Controllers
| └── Services
| └── repositories
| └── shared
| └── containers
| └── errors
| └── routes
| └── utils
└── ...
** Clone o repositĂłrio e instale as dependĂŞncias.
# install dependencies
> yarn
# or
> yarn install
# copy .env file
> cp .env.example .env
# Generating the migration
> yarn prisma migrate dev
# start project
> yarn dev
# open in
http://localhost:9000/