Example code written from following along with the ExpressJS Crash Course on YouTube by Traversy Media. Allows the adding a removing of users to a MongoDB database.
Refer to:
- Using ExpressJS with Node.js
- Several different modules to include:
- express itself
- body-parser - for JSON and urlencoded
- path - to assist in path routing
- express-validator - for validating user input
- mongojs - for MongoDB database access
- ejs - for view engine
- Using MVC concepts with the views, database, and middleware
- Using HTTP GET, POST, and DELETE through the express app.get(), app.post(), and app.delete() methods