Skip to content

Neerajkr-jha/Blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Blog-App

About

Blog-App is a full-stack blogging platform built using modern web technologies. The codebase is split into two parts:

  • frontend – UI built with React (and any supporting libraries)
  • backend – RESTful API built with Node.js/Express (and any database you’re using)

Use it to create, read, update, and delete blog posts, user registration/login, and more.

πŸ›  Tech Stack

  • Frontend: React, (optionally Redux / Context API), React Router, CSS/Styled Components (or your chosen styling)
  • Backend: Node.js, Express.js, MongoDB (or whichever DB)
  • Authentication: JSON Web Tokens (JWT) / bcrypt for password hashing
  • Deployment: (Optional) Heroku / Vercel / Netlify or your preferred cloud provider

πŸš€ Features

  • User registration & login
  • JWT-based authentication & authorization
  • CRUD operations for blog posts (Create, Read, Update, Delete)
  • Rich text or markdown support for writing posts (if implemented)
  • Responsive UI for desktop and mobile
  • Clear folder separation for frontend and backend

πŸ“ Repository Structure

/Blog-App
β”‚
β”œβ”€β”€ backend/                 # Express API
β”‚   β”œβ”€β”€ controllers/         # Controller logic for routes
β”‚   β”œβ”€β”€ models/              # Mongoose/DB models
β”‚   β”œβ”€β”€ routes/              # API route definitions
β”‚   β”œβ”€β”€ middleware/          # Auth & other middleware
β”‚   β”œβ”€β”€ config/              # DB config, environment config
β”‚   β”œβ”€β”€ services/            
β”‚   β”œβ”€β”€ authorization/            
β”‚   β”œβ”€β”€ .env                 # Environment variables (ignored in git)
β”‚   β”œβ”€β”€ app.js            # Entry point for Express backend
β”‚   └── package.json
β”‚
β”œβ”€β”€ frontend/                # React App
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/      # UI components
β”‚   β”‚   β”œβ”€β”€ services/        # API calls (axios etc.)
β”‚   β”‚   β”œβ”€β”€ context/         # React context (auth, theme)
β”‚   β”‚   β”œβ”€β”€ hooks/           # Custom hooks (optional)
β”‚   β”‚   β”œβ”€β”€ assets/          # Images, icons, etc.
β”‚   β”‚   β”œβ”€β”€ App.js           # Root component
β”‚   β”‚   └── index.js         # Entry point
β”‚   └── package.json
β”‚
β”œβ”€β”€ README.md
└── .gitignore

About

Blogg App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages