Skip to content

mongodb-developer/mongodb-node-crud-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB and Node.js CRUD example

Code samples for the MongoDB and npm article.

main workflow

How To Run

Update the .env file to add your MongoDB Atlas connection string:

DB_URI=mongodb+srv://<username>:<password>@<clustername>.mongodb.net/

Execute the following commands in the root of the project:

npm install
node ./index.js

Disclaimer

Use at your own risk; not a supported MongoDB product

About

Code samples for the MongoDB and npm article.

Topics

Resources

License

Stars

Watchers

Forks