Spin up your Builder Box project in minutes with this step-by-step guide.
server/.env
and web/.env
)server/.env
to web/.env
server/.env
to web/.env
server/.env
and web/.env
)server/.env
to web/.env
because API routes run within the Next.js appserver/.env
and web/.env
) - For NextAPI
backends: Copy ALL variables from server/.env
to web/.env
because API
routes run within the Next.js appapps/server/.env
:
apps/cms/.env
:
apps/server/.env
:
http://localhost:3000
, http://localhost:3001
http://localhost:3000/api/auth/callback/google
apps/server/.env
:
re_
)apps/server/.env
:
sk_test_
)apps/server/.env
:
https://your-ngrok-url.ngrok.io/api/webhooks/stripe
apps/server/.env
:
apps/server/.env
:
apps/cms/.env
:
apps/web/.env
:
prisma generate
: Creates the database client
code - prisma migrate dev
: Creates and applies database migrations - prisma db push
: Ensures all schema changes are appliedbun dev
command runs all three services in parallel
automatically. You’ll see logs from all services in one terminal window.apps/server/.env
)apps/web/.env
)apps/cms/.env
)lsof -ti:3000 | xargs kill -9
apps/web/src/components
apps/server/src/routes
apps/cms/src/collections