This is a Next.js project bootstrapped with create-next-app.
This was a staging repo for the full re-write of Burgas Business Hub (bbh)
First, run the development server:
bun devThis includes Docker containers for development with S3 buckets, email & MongoDB. On changes to the Database structure run
bun types2to generate types. Open http://localhost:3000 with your browser to see the result.
Posthog captures every event even with Brave & Ublock origin lite ad blockers. Automatic Error tracking on Client works even with Brave & Ublock origin ad blockers.
Tested Manually capturing Exception with Posthog:
const posthog = getPostHogServer()
try {
throw new Error("This is a test exception for error tracking")
} catch (error) {
posthog.captureException(error, 'test')
}With Posthog source map upload at build time it is ~10-20% slower.
It's not just about adding .ts extentions at this point.
file:///C:/projects/research/payload/dev-server-speed-test-mongodb/next-16-from-scratch/src/collections/Attendees.ts:1
import { CollectionConfig } from 'payload';
^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'payload' does not provide an export named 'CollectionConfig'
SyntaxError: The requested module 'payload' does not provide an export named 'CollectionConfig'
smth more serious is messed up. I tested with bun and pnpm.