This is a boilerplate app that i created to show how you can use, NodeJS / Express / EJS and an MVC pattern to create a CRUD application. Have been asked many times how you could implement this from scratch and here it is. I did not delve into a fully fledged app but It does explain how CRUD is done and also how routing is handled apart from the templates used in Views (via EJS). This example makes use of an in-memory collection but you can easily modify it to make use of a db..... Enjoy!
Download and install the missing modules. Make sure you have node and npm installed.
type in
npm install
In order to start cracking in you need to make use of npm start. This will start nodemon so that you may modify things as you go along and see the effect. Open the browser on http://localhost:3000
Feel free to share and reuse or drop me a line if you are in difficulty to understand what is going on. I tried to keep the example as comprehensive as possible. Let me know if you would like to see any changes done to this project. Peace!