Skip to content

drago1520/bbh

Repository files navigation

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

Getting Started

First, run the development server:

bun dev

This includes Docker containers for development with S3 S3_BUCKETs, email & MongoDB. On changes to the Database structure run

bun types2

to generate types. Open http://localhost:3000 with your browser to see the result.

Analytics

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.

Huge issue

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.

About

Burgas Business Hub website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •