Skip to content

Express App we commenced coding in class for integration with mongodb (to be continued)

Notifications You must be signed in to change notification settings

GBCBlockchain/myblogapp

Repository files navigation

Express App - To Demonstrate

  • MVC Structure
  • Connection To Mongodb Using Mongoose
  • Using a CSS Framework

To Run

cd myblogapp && npm install

# to start with nodemon - linux/macosx

npm run debug

# to start with nodemon - windows

npm run windows

To Do

  • Create Mongoose Schema and Records in Models Folder for Posts
  • Replace temporary posts variable in Controller with mongoose models
  • Add remaining routes to reflect requirements of mockup
  • Add an admin routes for creating, updating deleting posts
  • Add a CSS framework to pretty up the layout

Note: EJS doesnt natively handle layouts to accomodate this we are using express-ejs-layouts

For setting up vs-code debugger see here

About

Express App we commenced coding in class for integration with mongodb (to be continued)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •