- Run
npm install
while in the project directory. This will download all dependencies. - Create a new mongo database and modify app.js accordingly.
- Run
node app.js
- Navigate to http://localhost:3000
- Enjoy
This simple project demonstrates how to handle GET requests with Express, access a Mongo database with Mongoose, and template clientside files using EJS.