RESTful Blog App is an application that uses Express.js, Node.js, and MongoDB to allow its user to create, read, update, and delete (CRUD) various blog posts.
- The user can simply view blog posts on the landing page.
- The user can also create a new post using the link in the navigation bar.
- Users can edit and delete each post once they click "Read More" on the desired post.
- JavaScript
- Semantic UI
- REST
- MongoDB
- Mongoose
- HTML
- CSS
- EJS
- Express.js
- Node.js
- app.js is the main file that is the heart of our NodeJS web application and contains the RESTful Routes defined for each event.
- views directory contains the relevant files, the EJS templates, that render on each event.
- public/css directory contains CSS to create better interface.
- package.json file contains the information towards the various frameworks that were installed within the course of this project.
- ExpressJS is used for Server Side Routing applications.
- MongooseJS is used for Back-End Database operations with MongoDB NoSQL Database.
- Body-Parser is used to Parse the data that was received as a result of HTTP POST request.
- Method-Override is used to override the HTTP verb to implement PUT and DELETE methods.
- Express.Static() is used to serve the Static files CSS, JS, etc. in the directory as specified.
- Sanitizer is used to sanitize the contents of HTML inputs and keeps the Database Safe.