43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
# WebDev Pipeline
|
|
|
|
Interner Akquise-Agent fuer lokale Webdesign-Leads. Das MVP startet mit Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui und Platzhalter-Routen fuer Dashboard, Login und oeffentliche Audit-Seiten.
|
|
|
|
## Getting Started
|
|
|
|
```bash
|
|
pnpm dev
|
|
```
|
|
|
|
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
|
|
## Scripts
|
|
|
|
- `pnpm dev` starts the local development server.
|
|
- `pnpm lint` runs ESLint.
|
|
- `pnpm build` creates a production build.
|
|
- `pnpm start` starts the production server after a build.
|
|
|
|
## Environment Variables
|
|
|
|
Copy `.env.example` to `.env.local` for local development. Keep real secrets out of the repository and configure production values in Coolify and provider dashboards.
|
|
|
|
- **App / Coolify:** `APP_ENV`, `NEXT_PUBLIC_APP_URL`
|
|
- **Convex:** `NEXT_PUBLIC_CONVEX_URL`, `CONVEX_DEPLOYMENT`
|
|
- **Google:** `GOOGLE_GEOCODING_API_KEY`, `GOOGLE_PLACES_API_KEY`, `PAGESPEED_API_KEY`
|
|
- **OpenRouter:** `OPENROUTER_API_KEY`
|
|
- **SMTP / Stalwart:** `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD`, `SMTP_FROM`
|
|
- **Rybbit:** `RYBBIT_API_URL`, `RYBBIT_API_KEY`, `NEXT_PUBLIC_RYBBIT_SITE_ID`
|
|
|
|
Only variables prefixed with `NEXT_PUBLIC_` are intended for browser exposure. All API keys, SMTP credentials, and server-only URLs must stay server-side.
|
|
|
|
## Routes
|
|
|
|
- `/` MVP entry page.
|
|
- `/dashboard` internal dashboard placeholder.
|
|
- `/login` admin login placeholder.
|
|
- `/audit/[slug]` public audit placeholder.
|
|
|
|
## Deployment Notes
|
|
|
|
Coolify should run `pnpm install`, `pnpm build`, and `pnpm start`. The current font setup uses `next/font/google`, so production builds need outbound access to Google Fonts unless fonts are later self-hosted.
|