https://github.com/robertobdev/my-api
Nestjs + Sequelize Template
https://github.com/robertobdev/my-api
Last synced: about 1 year ago
JSON representation
Nestjs + Sequelize Template
- Host: GitHub
- URL: https://github.com/robertobdev/my-api
- Owner: robertobdev
- Created: 2021-04-22T19:31:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-16T00:27:15.000Z (almost 5 years ago)
- Last Synced: 2025-01-23T08:16:38.768Z (about 1 year ago)
- Language: TypeScript
- Size: 1.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MyApi
# Testing
## OpenApi
This project has OpenApi(Swagger)
```http
http://localhost:3000/api
```
### Database
//TODO: Create a docker file
Create a test database
run the follow seeds:
1. NODE_ENV=test npx sequelize-cli db:seed --seed 20210423141528-feed-roles.js
### Run tests
```bash
npm run test:e2e
```
> Be sure that you have a test database(with seeds);