Content
# Project Copilot
Project Copilot is a Next.js App Router application for asking questions about Jira and Azure DevOps projects through a durable per-user workspace. The initial slice ships the authenticated app shell, Google sign-in with Better Auth, Postgres + Drizzle persistence, and the `Chat`, `Integrations`, and `History` navigation scaffold.
## Stack
- Next.js 16 App Router with `src/`
- pnpm
- Better Auth with Google sign-in
- Drizzle ORM + Postgres via `DATABASE_URL`
- Biome
- shadcn/ui
## Getting Started
1. Install dependencies:
```bash
pnpm install
```
2. Copy the example environment file and fill in your values:
```bash
cp .env.example .env.local
```
3. Start the development server:
```bash
pnpm dev
```
4. Open [http://localhost:3000](http://localhost:3000).
## Environment
The app expects these variables:
- `DATABASE_URL`
- `BETTER_AUTH_SECRET`
- `BETTER_AUTH_URL`
- `GOOGLE_CLIENT_ID`
- `GOOGLE_CLIENT_SECRET`
## Scripts
- `pnpm dev` - run the Next.js dev server
- `pnpm lint` - run Biome checks
- `pnpm typecheck` - run TypeScript checks
- `pnpm test` - run Vitest
- `pnpm build` - run a production build
- `pnpm check` - run lint, typecheck, tests, and build
- `pnpm db:generate` - generate Drizzle migrations
## License
MIT