29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
## Codebase Patterns
|
|
- Project uses Next.js 16 with App Router, TypeScript, and TailwindCSS 4
|
|
- Source files are in `src/` directory (app, components, lib, types)
|
|
- Supabase is configured with @supabase/supabase-js and @supabase/ssr packages
|
|
- Environment variables follow NEXT_PUBLIC_* convention for client-side access
|
|
|
|
---
|
|
|
|
## 2026-01-21 - US-001
|
|
- What was implemented: Project scaffolding and configuration
|
|
- Files changed:
|
|
- package.json - project dependencies and scripts
|
|
- tsconfig.json - TypeScript configuration
|
|
- next.config.ts - Next.js configuration
|
|
- postcss.config.mjs - PostCSS with TailwindCSS
|
|
- eslint.config.mjs - ESLint configuration
|
|
- .env.example - environment variables template
|
|
- .gitignore - git ignore rules
|
|
- src/app/ - Next.js App Router pages
|
|
- src/components/.gitkeep - components directory placeholder
|
|
- src/lib/.gitkeep - lib directory placeholder
|
|
- src/types/.gitkeep - types directory placeholder
|
|
- **Learnings for future iterations:**
|
|
- Next.js 16 uses `@tailwindcss/postcss` for TailwindCSS 4 integration
|
|
- Use --src-dir flag for create-next-app to put source in src/ folder
|
|
- npm package names can't have capital letters (use lowercase)
|
|
- .gitignore needs explicit exclusion for .env files, but include .env.example
|
|
---
|