docs: mark Feature 1 tasks as complete in implementation plan

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-02-21 22:44:54 +00:00
parent e373c2b46c
commit 9785c0997e

View file

@ -17,36 +17,16 @@
## Feature 1 — Project Setup & Repository
- [ ] Scaffold Next.js 15 project with App Router and TypeScript (`create-next-app`)
- [ ] Configure TypeScript (`tsconfig.json`): strict mode, path aliases (`@/*`, `@/components/*`, `@/lib/*`, `@/types/*`)
- [ ] Install and configure **Tailwind CSS v4**
- [ ] Install and configure **ESLint** (Next.js preset + custom rules)
- [ ] Install and configure **Prettier** with Tailwind class sorting plugin
- [ ] Set up **Husky** + **lint-staged** (pre-commit: lint + format)
- [ ] Define `.env.local` structure and `.env.example` template:
- `DATABASE_URI` (Neon PostgreSQL)
- `PAYLOAD_SECRET`
- `RESEND_API_KEY`
- `NEXT_PUBLIC_SITE_URL`
- `UPLOADTHING_SECRET` / `UPLOADTHING_APP_ID`
- `OPENAI_API_KEY` (for AI chat bot, optional)
- `SENTRY_DSN`
- [ ] Create `src/` directory structure:
```
src/
├── app/ # Next.js App Router pages
├── components/
│ ├── ui/ # Primitive components
│ ├── layout/ # Header, Footer, Nav
│ ├── sections/ # Page sections (Hero, Services, etc.)
│ ├── three/ # Three.js / R3F components
│ └── cms/ # CMS-driven components
├── lib/ # Utilities, helpers
├── hooks/ # Custom React hooks
├── types/ # Shared TypeScript types
└── payload/ # Payload CMS config & collections
```
- [ ] Initialise Git repository, create `main` and `develop` branches
- [x] Scaffold Next.js 16.1.6 project with App Router and TypeScript (`create-next-app`)
- [x] Configure TypeScript (`tsconfig.json`): strict mode, path aliases (`@/*`)
- [x] Install and configure **Tailwind CSS v4**
- [x] Install and configure **ESLint 9** (Next.js preset)
- [x] Install and configure **Prettier** with Tailwind class sorting plugin
- [x] Set up **Husky 9** + **lint-staged 16** (pre-commit: lint + format)
- [x] Define `.env.local` structure and `.env.example` template
- [x] Create `src/` directory structure (app, components/ui/layout/sections/three/cms, lib, hooks, types, payload)
- [x] Initialise Git repository, create `main` and `develop` branches
- [x] **Docker**: multi-stage Dockerfile (dev/build/production) + docker-compose.yml (app + PostgreSQL 17)
- [ ] Create **Vercel** project, connect to Git repository
- [ ] Configure Vercel environment variables (production + preview)