This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

## Docker

The project ships with a multi-stage `Dockerfile` that produces a minimal production image using Next.js [standalone output](https://nextjs.org/docs/app/api-reference/next-config-js/output).

### Build the image

```bash
pnpm docker:build
```

### Run the container

```bash
pnpm docker:run
```

The app will be available at [http://localhost:3000](http://localhost:3000).

### Docker Compose (recommended for local production testing)

```bash
# Build and start
pnpm docker:up

# View logs
pnpm docker:logs

# Stop and remove containers
pnpm docker:down
```

> **Secrets:** Pass runtime environment variables (e.g. `RESEND_API_KEY`) via a `.env` file or your deployment platform's secret manager. Never bake secrets into the image.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
