Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santiagodotsh/nest-pokedex
⚡ 🐈 CRUD with NestJS, MongoDB and Docker for quick setup.
https://github.com/santiagodotsh/nest-pokedex
docker mongodb nestjs pipes seed static
Last synced: 7 days ago
JSON representation
⚡ 🐈 CRUD with NestJS, MongoDB and Docker for quick setup.
- Host: GitHub
- URL: https://github.com/santiagodotsh/nest-pokedex
- Owner: santiagodotsh
- Created: 2024-09-05T19:17:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T15:05:09.000Z (4 months ago)
- Last Synced: 2024-10-31T23:05:55.702Z (about 2 months ago)
- Topics: docker, mongodb, nestjs, pipes, seed, static
- Language: TypeScript
- Homepage:
- Size: 296 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project setup
```bash
$ npm install
```## Config environment
```bash
$ # copy .env.template to .env
```## Start database
```bash
$ docker compose up -d
```## Compile and run the project
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Run SEED
```bash
$ http://localhost:3000/api/v2/seed
```## Production build with Docker
1. Create `.env.prod` file.
2. Fill environment variables.
3. Execute commands.```bash
# build
$ docker compose -f docker-compose.prod.yaml --env-file .env.prod up --build# run
$ docker compose -f docker-compose.prod.yaml --env-file .env.prod up
```## Run tests
```bash
# error
```