Skip to content
TheDeveloperMalekPublic

About

A full-stack blog platform built with Next.js and NestJS, featuring a public website, admin interfaces, secure authentication, Cloudinary-based media uploads, and Swagger API documentation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Blog Project

A full-stack blog platform with a strong focus on readability, clean structure, and maintainable code.

Project Summary

This project combines a modern frontend and a modular backend to deliver a blog system with public pages and an authenticated admin area.

Core Technologies

  • Frontend: Next.js, React, TypeScript
  • Backend: NestJS, Prisma, MySQL
  • Media: Cloudinary
  • API Docs: Swagger

Architecture

  • frontend/: UI, routes, admin interface, SEO-oriented pages
  • backend/: API modules, auth, database layer, integrations, CLI commands

Frontend Highlights

  • High-performance rendering strategy
  • Supports SSR and SSG
  • Accessibility-ready structure
  • SEO-friendly implementation
  • Clean and scalable folder organization

Backend Highlights

  • Cloudinary integration for upload workflows
  • Swagger documentation at /docs
  • MySQL as the primary database
  • Clean, modular architecture
  • Admin protection with token cookie verification

Quick Start

1) Run Backend

cd backend
npm install
npx prisma generate
npx prisma migrate dev
npm run start:dev

2) Run Frontend

cd frontend
npm install
npm run dev

Admin Setup

Before 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 cli

Example user creation:

npm run cli -- create:user -e [email protected] -n "Admin" -p "StrongPassword123!"

About

A full-stack blog platform built with Next.js and NestJS, featuring a public website, admin interfaces, secure authentication, Cloudinary-based media uploads, and Swagger API documentation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages