This is simple application CRUD basic javascript with NodeJS
- https://docs.mongodb.com/manual/installation/
- create database on your local mongodb named
express-mongoose-crud - open your terminal and type
mongoenter - type
use express-mongoose-crud - type
db.students.insertMany([{"name":"Jhon","email":"jhon@gmail.com","phone":"08123123123"},{"name":"Doe","email":"doe@gmail.com","phone":"08234234234"}]) - thats it
git clone https://github.com/reyadek/express-mongoose-crud.git
cd express-mongoose-crudnpm installnodemon app
used for framework web application
used for view engine
used for layout ejs view engine
used for flash message, cookie and session
- https://www.npmjs.com/package/express-session
- https://www.npmjs.com/package/connect-flash
- https://www.npmjs.com/package/cookie-parser
used for override post http method
used for schema-based solution to model your application data MongoDB
used for validation data
used for automatically restarting the node application when file changes
Cheers