Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higordiego/config-mongodb-nativo
https://github.com/higordiego/config-mongodb-nativo
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/higordiego/config-mongodb-nativo
- Owner: higordiego
- License: mit
- Created: 2019-09-15T12:45:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T03:11:52.000Z (over 3 years ago)
- Last Synced: 2023-03-01T08:51:58.384Z (almost 2 years ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# config-mongodb-nativo
## Arquivo .env
Criar o aquivo .env colocar o dados do seu banco de dados.```env
DB_URL="mongodb://localhost/test"
```## Usando .env
Usar a env correspondente do seu ambiente caso não consiga usar tente usar o seguinte pacote
- [x] dotenv - para saber mais [clique aqui](https://www.npmjs.com/package/dotenv)