NodeJS web application developed with standard principles of REST Routing, ExpressJS, Semantic UI and more...
RESTful Blog App is a web application developed with best applications of RESTful Routing using Node.JS, Express.JS, Embedded JavaScript (EJS), MongoDB and more …
Name | Path | HTTP Verb | Purpose | Mongoose Method |
---|---|---|---|---|
Index | /blogs | GET | List all blogs | Blog.find() |
New | /blogs/new | GET | Show new blog form | N/A |
Create | /blogs | POST | Create a new blog, then redirect somewhere | Blog.create() |
Show | /blogs/:id | GET | Show info about one specific blog | Blog.findById() |
Edit | /blogs/:id/edit | GET | Show edit form for one blog | Blog.findById() |
Update | /blogs/:id | PUT | Update a particular blog, then redirect somewhere | Blog.findByIdAndUpdate() |
Destroy | /blogs/:id | DELETE | Delete a particular blog, then redirect somewhere | Blog.findByIdAndRemove() |
The application is hosted on GoormIDE, an open-source Cloud IDE Service for developing web applications.