NextBlog is a modern full-stack blogging platform built with Next.js (App Router), Convex, shadcn/ui, and TypeScript. It supports authentication, blog creation with image uploads, real-time comments, and a clean responsive UI.
- π Authentication (login required to post & comment)
- βοΈ Create blog posts with image uploads
- πΌ Image storage via Convex file storage
- π¬ Real-time comments per post
- π Presence indicator for readers
- β‘ Fast server actions with Next.js
- π¨ Clean UI with shadcn/ui + Tailwind
- π± Fully responsive design
| Layer | Technology |
|---|---|
| Frontend | Next.js 14 (App Router), React, TypeScript |
| Backend | Convex |
| UI | Tailwind CSS, shadcn/ui |
| Forms | react-hook-form, Zod |
| Auth | Custom auth (Convex + Next middleware) |
| Storage | Convex file storage |
app/
ββ blog/
ββ create/
ββ actions.ts
ββ schemas/
components/
ββ web/
ββ ui/
convex/
- git clone https://github.com/itsmesaadali/nextblog.git
- cd nextblog
- pnpm install
# or
- npm install
CONVEX_DEPLOYMENT=your-convex-deployment
NEXT_PUBLIC_CONVEX_URL=your-convex-url
npx convex dev
pnpm dev
# or
npm run dev