Multilingual enterprise website and built-in Payload CMS for 东亚电力 / East Asia Power / Ostasien Energie.
- Next.js App Router + TypeScript
- Payload CMS at
/admin - Postgres via
@payloadcms/db-postgres - Localized routes:
/en,/zh,/de - CMS collections:
Pages,Articles,Media,Users - CMS global:
SiteSettings
-
Copy environment variables:
cp .env.example .env
-
Start Postgres. With Docker:
docker compose up -d postgres
-
Install and run:
npm install npm run dev
-
Seed demo CMS content and the first admin:
npm run seed
Default seeded admin:
- Email:
admin@eastasiapower.example - Password:
ChangeMe123!
- Email:
-
Open:
- Website:
http://localhost:3000/en - Chinese:
http://localhost:3000/zh - German:
http://localhost:3000/de - CMS Admin:
http://localhost:3000/admin
- Website:
Pages: localized homepage/page content, hero copy, story cards, proof metrics, deployment highlights, CTA and SEO.Articles: localized title, excerpt, body, SEO, shared slug, category, cover image and publish date.Media: upload library with localized alt text.SiteSettings: localized company name, navigation, footer, contact details and default SEO.
npm run dev
npm run seed
npm run generate:types
npm run lint
npm run buildGenerated visual assets live in public/assets. The approved concept reference is stored at public/concepts/east-asia-power-homepage-concept.png.