Skip to content

This is a boilerplate app was 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 te…

Notifications You must be signed in to change notification settings

Metrophobe/items

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Item Boilerplate

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!

Installation

Download and install the missing modules. Make sure you have node and npm installed.

Installing Missing Modules

type in

npm install 

Usage

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

Contributing

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!

License

MIT

About

This is a boilerplate app was 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 te…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published