Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esquiafo/mongouri-env
How use .env in a MongoURI
https://github.com/esquiafo/mongouri-env
env environment environment-variables express express-js expressjs mongo mongodb mongodb-database node node-js nodejs
Last synced: about 1 month ago
JSON representation
How use .env in a MongoURI
- Host: GitHub
- URL: https://github.com/esquiafo/mongouri-env
- Owner: Esquiafo
- Created: 2023-08-23T22:39:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-25T00:30:11.000Z (over 1 year ago)
- Last Synced: 2024-05-31T15:42:26.576Z (7 months ago)
- Topics: env, environment, environment-variables, express, express-js, expressjs, mongo, mongodb, mongodb-database, node, node-js, nodejs
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB + .ENV
How effectively set up an environmental variable for a MongoDB URI implementation
## Installation
Install with npm
```bash
npm i
```
## Environment VariablesTo run this project, you will need to add the following environment variables to your .env file
`MONGO_URI`
## Deployment
To deploy this project run
```bash
npm run start
```## Authors
- [@Leonardo Capone](https://www.linkedin.com/in/capone-leonardo/)