/node-mongodb-docker

containerize node mongodb application with docker

Primary LanguageJavaScript

To start setting up the project

Step 1: Clone the repo

git clone https://github.com/samimwebdev/node-mongo-docker.git

Step 2: cd into the cloned repo and run:

npm install

Step 3: Put your credentials in the .env file.

PORT=3000
MONGODB_URI=YOUR MONGODB URI
DB_NAME=DATABASE NAME OF YOUR CHOICE
DB_USER=DATABASE USER
DB_PASS=DATABASE USER PASSWORD

Step 4: Start the API by

npm start

License

This project is licensed under the MIT License.