# {{projectName}}

Angular 19 frontend generated by [create-fast-stack](https://github.com/fabianlevinsky/create-fast-stack).

## Quick Start

```bash
{{#if (eq packageManager "npm")}}npm install
npm start{{else if (eq packageManager "bun")}}bun install
bun start{{else}}pnpm install
pnpm start{{/if}}
```

## Scripts

| Command | Description |
|---------|-------------|
{{#if (eq packageManager "npm")}}| `npm start` | Start dev server (port 4200) |
| `npm run build` | Build for production (`dist/`) |
| `npm run lint` | Run {{#if (includes selectedAddons "biome")}}Biome{{else}}angular-eslint{{/if}} |
| `npm test` | Run Vitest in watch mode |
| `npm run test:run` | Run Vitest once |{{else if (eq packageManager "bun")}}| `bun start` | Start dev server (port 4200) |
| `bun run build` | Build for production (`dist/`) |
| `bun run lint` | Run {{#if (includes selectedAddons "biome")}}Biome{{else}}angular-eslint{{/if}} |
| `bun test` | Run Vitest in watch mode |
| `bun run test:run` | Run Vitest once |{{else}}| `pnpm start` | Start dev server (port 4200) |
| `pnpm build` | Build for production (`dist/`) |
| `pnpm lint` | Run {{#if (includes selectedAddons "biome")}}Biome{{else}}angular-eslint{{/if}} |
| `pnpm test` | Run Vitest in watch mode |
| `pnpm test:run` | Run Vitest once |{{/if}}

## Stack

- **Framework**: Angular 19 (standalone components, signals)
- **Styling**: Tailwind CSS v4 (PostCSS)
- **Testing**: Vitest + @analogjs/vitest-angular
{{#if (includes selectedAddons "biome")}}- **Linting & Formatting**: Biome{{else}}- **Linting**: angular-eslint + typescript-eslint (flat config)
- **Formatting**: Prettier + prettier-plugin-tailwindcss{{/if}}

## Backend Connectivity

The app fetches `/health` from `environment.backendUrl` on the home page. Default: `http://localhost:8000`.

To change the backend URL, edit `src/environments/environment.ts` (prod) and `src/environments/environment.development.ts` (dev).
