Skip to content

AadityaLamichhane/BlogSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ BlogSite

BlogSite β€” The modern, full-stack blog platform. Create, share, and upvote blogs with a beautiful UI and seamless experience.


✨ Features

  • πŸ“ 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

πŸ§‘β€πŸ’» Quick Login

Want to try it out? Use the demo credentials:

Email: random@gmail.com
Password: visiter

πŸ“ Project Structure

BlogSite/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app.ts
β”‚   β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ prisma/
β”‚   └── ...
β”œβ”€β”€ common/
β”‚   └── src/
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   └── ...
β”‚   └── public/
└── README.md

πŸ—οΈ Architecture Overview

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]
Loading

🚦 Getting Started

  1. Clone the repo: git clone https://github.com/AadityaLamichhane/BlogSite.git
  2. Install dependencies for backend & frontend:
    • cd backend && npm install
    • cd ../frontend && npm install
  3. Set up environment variables (see .env.example)
  4. Run backend: npm run dev (from backend folder)
  5. Run frontend: npm run dev (from frontend folder)
  6. Visit the app in your browser!

πŸ› οΈ Tech Stack

  • TypeScript, Node.js, Express
  • React, Vite
  • Prisma ORM
  • MongoDB

🀝 Contributing

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

About

Blog site Accepting CRUD operation . This site lets you create your blog with the great features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published