Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.62 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.62 KB

Project README

Special thanks to Raddy and Net Ninja team for the eventful journey I had with them doing this amazing project.

FRONTEND

  • EJS: Type of HTML embedded JS which works similar to HTML
  • CSS and JS

BACKEND

  • 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.

How to Run

  1. Clone this repository or download the ZIP file then open into VScode
  2. Open a new terminal and do npm run dev
  3. Go to localhost:8950 (you can change the port number in app.js)
  4. To modify the posts go to localhost:8950/admin
  5. Enter your login details or to add new registration go to steps 8 and 9
  6. Click on edit or delete post to modify the blog page.
  7. To check post history you can click on 'View Older Posts'.
  8. Go to views/admin/index.ejs and uncomment the form tag that loads registration element of admin page
  9. After registration reload the localhost:8950/admin page and enter login details.

homepage

postedit_page

analytics

Created by Sagardeep Das with ❤️‍🔥