Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielhdezller/nest-mongodb-base
https://github.com/danielhdezller/nest-mongodb-base
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielhdezller/nest-mongodb-base
- Owner: danielhdezller
- Created: 2023-09-14T16:39:34.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-09-14T17:16:19.000Z (over 1 year ago)
- Last Synced: 2024-11-12T01:43:48.459Z (2 months ago)
- Language: TypeScript
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nest Base Project with MongoDb
A Nestjs with MongoDb template to start a new project.
## Steps to run the project:
- if you haven't already: copy `.env.example` to `.env` at the project folder level.
```bash
$ cd ./docker/project
# Db and application will start, on mac if it is the first time it takes some time due to the copy of the volumes.
$ docker-compose up
```## Swagger:
After running it you can find the Swagger documentation at: http://localhost:3000/docs#/
## Steps to run the Tests:
- if you haven't already: copy `.env.example` to `.env` at the project folder level.
```bash
$ cd ./docker/test-db
# The Db for testing proposes will start.
$ docker-compose up
# To return to the project folder.
$ cd ../../project
# To run the test.
$ yarn test
```## Stay in touch
- Author - [Daniel Hernández](https://github.com/danielhdezller)
- LinkedIn - [LinkedIn](https://www.linkedin.com/in/daniel-hernandez-ller/)
![officer-peña](https://github.com/danielhdezller/nest-mongodb-base/assets/63543622/a90a29e9-d413-4be6-86e1-a720b88d70d7)