Skip to content

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started (local)

For a quick “see it running” local preview (no DB/auth yet), see docs/local-dev.md.

Google SSO + Attio auto-link (new)

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.

  1. Start Postgres (local)

This repo includes docker-compose.yml for local Postgres:

docker compose up -d
  1. 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).

  1. Run migrations
npm run db:migrate:dev
  1. Run the development server
npm run dev

Open 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.

Learn More

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

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

This project is intended to deploy on Vercel with a managed Postgres database.

See docs/vercel-db.md.