Amirhossein Khalili 37b123838f
Some checks failed
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
fix(frontend): add blog admin preview route
2026-06-08 22:05:48 +03:30
2026-05-19 20:58:15 +03:30
2026-05-19 20:58:15 +03:30
2026-05-19 20:58:15 +03:30

Frontend

Stack

  • Next.js App Router with React 18 and TypeScript.
  • @tanstack/react-query for client-side authenticated flows.
  • Tailwind CSS and shadcn/ui components.
  • next-themes, Sonner, and toast helpers for RTL UI and notifications.

Environment

Copy .env.sample to .env.

Required variables:

  • NEXT_PUBLIC_API_BASE_URL
  • NEXT_PUBLIC_SITE_URL

Development

npm install
npm run dev

The local dev server runs on http://localhost:8080.

Production build

npm run build
npm run start

The production runtime serves on port 3000 inside Docker. Dockerfiles live only in guilan-ace-deployment.

Routes

  • Public SEO pages: /, /about, /blog, /blog/[slug], /events, /events/[slug]
  • Client-heavy flows: /auth, /profile, /logout, /payments/result, /reset-password/*, /verify-email/*
  • Admin: /admin/*

Validation

npm run lint
npm run build
Description
No description provided
Readme 1.9 MiB
Languages
TypeScript 99.5%
CSS 0.4%