No description
Find a file
Vadym Samoilenko 1cd20291d0 feat: wire all sections to Payload CMS + header dropdown + deploy config
- New collections: Locations, Reviews, BirthdayPackages
- New lib: getHomeData() — single cache-wrapped data fetch for homepage
- All sections now read from CMS with static fallbacks
- Header dropdown auto-populates 5 locations from Locations collection
- Seed API at /api/admin/seed creates all collections + uploads media
- docker-compose.prod.yml: replaced nginx/certbot with Traefik labels (shumi.ai-impress.com)
- Fixed image assignments: Locations 3-5 use gallery images (not news-bg)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 21:39:29 +01:00
.github/workflows feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
.husky feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
docs feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
migrations feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
public/images/figma feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
scripts feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
src feat: wire all sections to Payload CMS + header dropdown + deploy config 2026-05-10 21:39:29 +01:00
tests feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
.dockerignore feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
.env chore: add .env with project credentials (private repo) 2026-05-09 19:27:37 +01:00
.env.example chore: add env files to repo (private repo) 2026-05-09 19:21:24 +01:00
.gitignore feat: refactor frontend components and add PageHero 2026-05-10 18:41:46 +01:00
.npmrc feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
.prettierrc.json feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
docker-compose.prod.yml feat: wire all sections to Payload CMS + header dropdown + deploy config 2026-05-10 21:39:29 +01:00
docker-compose.yml fix: read POSTGRES_PASSWORD from .env in docker-compose.yml 2026-05-09 20:24:12 +01:00
Dockerfile feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
eslint.config.mjs feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
figma.config.json feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
next-env.d.ts feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
next.config.ts feat: refactor frontend components and add PageHero 2026-05-10 18:41:46 +01:00
nginx.conf feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
package.json fix: resolve admin crash, Hero data-driven, TS errors, lint script 2026-05-10 17:27:10 +01:00
payload.config.ts feat: wire all sections to Payload CMS + header dropdown + deploy config 2026-05-10 21:39:29 +01:00
playwright.config.ts feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
pnpm-lock.yaml feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
pnpm-workspace.yaml feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
postcss.config.mjs feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
README.md feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
tsconfig.json feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
vercel.json feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
vitest.config.ts feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
vitest.setup.dom.ts feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
vitest.setup.ts feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00

Shumiland

Website for Shumiland entertainment park — Next.js 15 + Payload CMS 3.0 + PostgreSQL 16.

Quickstart (dev)

# 1. Install dependencies
pnpm install

# 2. Copy env and fill in values
cp .env.example .env

# 3. Start database
docker compose up postgres -d

# 4. Run dev server
pnpm dev

Open http://localhost:3000/admin to access the CMS admin.

On first run, Payload will prompt you to create an admin user.

Commands

Command Description
pnpm dev Start dev server with hot reload
pnpm build Production build
pnpm start Start production server
pnpm lint ESLint check
pnpm typecheck TypeScript check
pnpm test Run tests
pnpm format Prettier format
pnpm seed Seed initial admin user + globals

Project structure

src/
├── app/api/          # API routes (leads, tickets, binotel, health, revalidate)
├── collections/      # Payload CMS collections (Pages, Blog, Tariffs, Leads, Orders, ...)
├── globals/          # Payload globals (Header, Footer, HomePage, SiteSettings, ...)
├── blocks/           # Page Builder blocks (Hero, Gallery, LeadForm, PricingBlock, ...)
├── lib/              # Integrations (ezy, binotel, telegram, resend, rateLimit, ...)
└── access/           # Access control helpers
tests/
├── unit/             # Unit tests (lib functions)
└── api/              # API route tests
docs/
├── admin-guide-ua.md # CMS guide for marketers (Ukrainian)
└── deploy.md         # VPS deployment instructions

Docs