https://github.com/sdpdas/blogging-website
This is the blog website I've made over a month. Any changes to the project are welcome. Enjoy
https://github.com/sdpdas/blogging-website
blogging mongodb nodejs
Last synced: 3 months ago
JSON representation
This is the blog website I've made over a month. Any changes to the project are welcome. Enjoy
- Host: GitHub
- URL: https://github.com/sdpdas/blogging-website
- Owner: SDpDas
- Created: 2024-05-11T23:26:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T23:01:35.000Z (10 months ago)
- Last Synced: 2024-12-14T05:16:00.516Z (7 months ago)
- Topics: blogging, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 authenticationLots 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.---



Created by **Sagardeep Das** with ❤️🔥