This is a Next.js project bootstrapped with create-next-app.
For a quick “see it running” local preview (no DB/auth yet), see docs/local-dev.md.
This app uses Google SSO (NextAuth) and can optionally auto-link the signed-in user to an Attio workspace member by matching email (using a single workspace API key).
See docs/auth-attio.md.
- Start Postgres (local)
This repo includes docker-compose.yml for local Postgres:
docker compose up -d- Create your local
.env
Create a .env file and set at minimum:
DATABASE_URL
See docs/vercel-db.md for details (and Vercel env var expectations).
- Run migrations
npm run db:migrate:dev- Run the development server
npm run devOpen 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.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
This project is intended to deploy on Vercel with a managed Postgres database.
See docs/vercel-db.md.