BlogSite — The modern, full-stack blog platform. Create, share, and upvote blogs with a beautiful UI and seamless experience.
- 📝 Create, Read, Update, Delete (CRUD) blogs
- 🔒 JWT-based authentication
- 🚀 Fast, modern frontend (Vite + React)
- 📈 Upvote and interact with posts
- 👥 Add music queue streaming (coming soon!)
- 🎨 Responsive, eye-catching UI
Want to try it out? Use the demo credentials:
Email: random@gmail.com
Password: visiter
BlogSite/
├── backend/
│ ├── app.ts
│ ├── routes/
│ ├── prisma/
│ └── ...
├── common/
│ └── src/
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ └── ...
│ └── public/
└── README.md
graph TD
A[Client Interface] --> B[Express API Gateway]
B --> C[Authentication Layer]
C --> D[JWT Validation]
D --> E[User Session Store]
B --> F[Blog CRUD Controller]
F --> G[Database Access Layer]
G --> H[MongoDB Cluster]
H --> I[Blog Posts Collection]
H --> J[User Metadata Collection]
- Clone the repo:
git clone https://github.com/AadityaLamichhane/BlogSite.git - Install dependencies for backend & frontend:
cd backend && npm installcd ../frontend && npm install
- Set up environment variables (see
.env.example) - Run backend:
npm run dev(from backend folder) - Run frontend:
npm run dev(from frontend folder) - Visit the app in your browser!
- TypeScript, Node.js, Express
- React, Vite
- Prisma ORM
- MongoDB
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Readme designing Credit :https://gitmcp.io The diagram was created with the help of gitmcp really cool website do check this website ()