Maxim Snesarev 1d789ecb17 Add migration for products and products_options tables with associated constraints and enums
- Created a new migration file to define the structure for the products and products_options tables.
- Added necessary columns, data types, and constraints including foreign keys and enums for product attributes.
- Updated the migrations index to include the new migration for tracking purposes.
2026-04-03 03:12:44 +03:00
2026-04-01 22:34:50 +03:00
2026-04-01 22:34:50 +03:00
2026-04-01 22:34:50 +03:00
2026-04-01 22:34:50 +03:00
2026-04-01 22:34:50 +03:00

ADVdoors

Modern product catalog for Finnish doors (KASKI, SWEDOOR/JELD-WEN, ALAVUS, ABLOY).

Built with Next.js 15, Payload CMS 3, PostgreSQL 16, and MinIO, managed as a Turborepo + pnpm monorepo.

Quick Start (Development)

just setup   # services + deps + .env
just dev     # start Next.js dev server

Or do it all at once:

just up      # services + dev server

Project Structure

apps/web/       — Next.js + Payload CMS (storefront + admin)
apps/scraper/   — Migration scraper CLI
packages/shared — Shared types and constants
docker/         — Docker Compose configs, Caddy, backups

Production Deployment

cp docker/.env.example docker/.env  # edit with real secrets
just prod-up

Caddy handles SSL automatically.

Migration (Scraper)

just scrape

All Commands

Run just to see the full list. Key ones:

Command Description
just setup Full dev setup (services + deps + .env)
just up Start services + dev server
just dev Dev server only (services must be running)
just build Build all packages
just scrape Run migration scraper
just db-reset Wipe dev database and MinIO
just prod-up Production build + start
just prod-logs -f Tail production logs

See docs/PLAN.md for the full architecture plan.

Description
No description provided
Readme 549 KiB
Languages
TypeScript 97.1%
Just 1.6%
Dockerfile 0.7%
JavaScript 0.4%
Shell 0.2%