This project was made to demonstrate how to integrate Posthog into a Next.js application
I'll add futher information in the near future...
In the meantime to run the project locally:
pnpm installcd apps/nextjs && docker compose up -dIn
./apps/nextjsCreate a.env.localfile and populate it with the environment variables from .env.example.
Navigate to ./apps/nextjs and run
pnpm db:migrateturbo dev