Skip to content

Blog app demo. Used NodeJS for serverside, MongoDB for database, Semantic UI for stylesheet, RESTful Routing

Notifications You must be signed in to change notification settings

lolaeva/Blog-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog-App

Blog app demo. Used NodeJS for serverside, MongoDB for database, Semantic UI for stylesheet

RESTful Routes

Restful Routes used in this project

Name Path Http Verb Purpose Mongoose Method
Index /dogs GET Displays a list of all dogs Dog.find()
New /dogs/new GET Displays a form to make a new dog N/A
Create /dogs POST Add a new dog to database Dog.create()
Show /dogs/:id GET Shows info about one dog Dog.findById()
Edit /dogs/:id/edit GET Shows edit form for one dog Dog.findById()
Update /dogs/:id PUT Update a particular dog, then redirect somewhere Dog.findByIdAndUpdate()
Destroy /dogs/:id DELETE Delete a particular dog, then redirect somewhere Dog.findByIdAndRemove()

About

Blog app demo. Used NodeJS for serverside, MongoDB for database, Semantic UI for stylesheet, RESTful Routing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published