Standard project structure, including folders and files, for creating a Nodejs MongoDB RESTful API.
-
Install Mongodb on local machine.
-
Create database named "MyDB".
-
Move to root directory and run following commands:
npm install
node .\server.js
ORnpx nodemon .\server.js
- Open Browser and type url "http://localhost:8080/".