Special thanks to Raddy and Net Ninja team for the eventful journey I had with them doing this amazing project.
- EJS: Type of HTML embedded JS which works similar to HTML
- CSS and JS
- MongoDB: Storing database of different blog posts
- NodeJS: For starting and connecting our app to localhost
- Mongoose: Shares info to MongoDB Compass
- ExpressJS: Useful in building our API
- JWT: JSON Web Token that secures user login and authentication
Lots of routing methods were used by JavaScript hence only clickable features in web interaction.
- Clone this repository or download the ZIP file then open into VScode
- Open a new terminal and do
npm run dev
- Go to
localhost:8950
(you can change the port number inapp.js
) - To modify the posts go to
localhost:8950/admin
- Enter your login details or to add new registration go to steps 8 and 9
- Click on edit or delete post to modify the blog page.
- To check post history you can click on 'View Older Posts'.
- Go to
views/admin/index.ejs
and uncomment the form tag that loads registration element of admin page - After registration reload the
localhost:8950/admin
page and enter login details.
Created by Sagardeep Das with ❤️🔥