Skip to content

simple project with Node.js, the Express framework, and MongoDB, focusing on the fundamental REST routes and basic database interaction

Notifications You must be signed in to change notification settings

JayceZhang9602/node-express-mongo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-express-mongo-api

simple project with Node.js, the Express framework, and MongoDB, focusing on the fundamental REST routes and basic database interaction

use

  • Install dependencies

    npm install
    
  • In a directory config in the root of your project, create a db.js file

    mkdir config 
    cd config
    touch db.js
    

    Inside, add the URL:

    module.exports = {
      url : //YOUR MONGODB URL HERE
    };
    
  • Start server

    npm run dev
    

About

simple project with Node.js, the Express framework, and MongoDB, focusing on the fundamental REST routes and basic database interaction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published