No description
Find a file
Vadym Samoilenko 12cd941da5
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions
fix(kvytky): client-side tariff fallback when static build has no server
At Docker build time Next.js renders /kvytky statically before the server
starts, so getTariffs() gets empty array. KvytkyTicketsClient now fetches
/api/tickets/tariffs on mount when serverTariffs is empty.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 14:50:21 +01:00
.github/workflows feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
.husky fix: replace npx with pnpm exec in husky hook, clear shamefully-hoist from .npmrc 2026-05-10 21:40:30 +01:00
docs fix(mobile): responsive CoverflowSlider, LocationsSlider overlay, DinoPageContent hero+wheel overflow, gallery lightbox 2026-06-02 21:12:50 +01:00
media feat: kvytky 1:1 redesign, CMS-driven pages, blog/group/birthday updates, green-wave pattern, image optimization 2026-06-02 16:46:52 +01:00
migrations fix: logo absolute URL, dyvolis tickets priority, why-section layout, birthday extra CMS items 2026-06-08 14:38:41 +01:00
public fix(dynozavry): serve hero banner from public PNG + raise media quality 2026-06-08 14:20:17 +01:00
scripts fix(legal): larger textarea rows in admin, update date to 01.06.2026 2026-06-04 13:15:56 +01:00
src fix(kvytky): client-side tariff fallback when static build has no server 2026-06-08 14:50:21 +01:00
tests feat: implement full frontend — all sections, components, Figma Code Connect 2026-05-10 16:40:56 +01:00
.dockerignore feat(docker): add Caddy TLS proxy with self-signed cert, remove traefik 2026-06-08 14:13:26 +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 chore: remove dev screenshots/AI artifacts from repo + gitignore them 2026-06-02 19:19:08 +01:00
.npmrc fix: replace npx with pnpm exec in husky hook, clear shamefully-hoist from .npmrc 2026-05-10 21:40:30 +01:00
.pnpmfile.mjs fix(docker): add .pnpmfile.mjs for pnpm 11 ESM import compatibility 2026-05-13 19:22:00 +01:00
.prettierrc.json feat: complete backend B1-B7 — Payload CMS, ezy payments, leads, deploy 2026-05-09 19:14:54 +01:00
_generateGuide.mjs fix(mobile): responsive CoverflowSlider, LocationsSlider overlay, DinoPageContent hero+wheel overflow, gallery lightbox 2026-06-02 21:12:50 +01:00
Caddyfile feat(docker): add Caddyfile for self-signed TLS proxy 2026-06-08 14:14:01 +01:00
docker-compose.prod.yml feat(docker): add Caddy TLS proxy with self-signed cert, remove traefik 2026-06-08 14:13:26 +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(media): auto-compress uploaded videos via FFmpeg H.264 CRF 28 2026-06-05 13:12:45 +01:00
Dockerfile.migrator fix(migrator): replace payload migrate with direct psql runner 2026-05-13 20:12:02 +01:00
eslint.config.mjs feat(cms): wire DyvoLis gallery to CMS, fix eslint config 2026-05-13 18:01:45 +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 fix(telegram): correct Ukrainian grammar (Нове замовлення), show tariff name + customer name/phone in order alert 2026-06-02 20:01:16 +01:00
next.config.ts fix(images): add dynamic remotePattern from NEXT_PUBLIC_SITE_URL 2026-06-06 21:18:40 +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 feat(ui): card stack slider, footer redesign, video glow, revalidation fix 2026-06-04 12:18:01 +01:00
payload.config.ts fix(cms): remove unused dyvolis-page global, fix docker-compose volume, seed error handling 2026-06-04 16:48: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(ui): card stack slider, footer redesign, video glow, revalidation fix 2026-06-04 12:18:01 +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(dynopark): hero banner, 5-dino wheel, silhouette dinos + deploy assets 2026-06-01 21:33:40 +01:00
tsconfig.payload.json fix(build): remove .js extensions from payload.config imports + fix TS errors 2026-05-15 18:34:38 +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