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 ()