A full-stack blog platform with a strong focus on readability, clean structure, and maintainable code.
This project combines a modern frontend and a modular backend to deliver a blog system with public pages and an authenticated admin area.
- Frontend: Next.js, React, TypeScript
- Backend: NestJS, Prisma, MySQL
- Media: Cloudinary
- API Docs: Swagger
frontend/: UI, routes, admin interface, SEO-oriented pagesbackend/: API modules, auth, database layer, integrations, CLI commands
- High-performance rendering strategy
- Supports SSR and SSG
- Accessibility-ready structure
- SEO-friendly implementation
- Clean and scalable folder organization
- Cloudinary integration for upload workflows
- Swagger documentation at
/docs - MySQL as the primary database
- Clean, modular architecture
- Admin protection with token cookie verification
cd backend
npm install
npx prisma generate
npx prisma migrate dev
npm run start:devcd frontend
npm install
npm run devBefore admin login, create an admin user using the CLI command implemented in:
backend/cli/commands/create-user.command.ts
Run CLI command system:
cd backend
npm run cliExample user creation:
npm run cli -- create:user -e [email protected] -n "Admin" -p "StrongPassword123!"