A basic example of express.js project. Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js
Database (MongoDB)
MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License
-
Install and setup mongoDB from official site
-
Setup username and password
-
Add connection string in express project with your username and password
Dependencies
-
node installed on system
-
npm installed
-
mongodb
Usage
Ruin these commands in project directory.
-
npm install
-
npm start