Dev Command
burger-api dev runs your API in development mode with hot reload. It is the default script in new projects (bun run dev).
Options: -p, --port <port> (default $PORT, else 4000), -f, --file <file> (default src/index.ts, src/index.js, or src/index.mjs).
The command sets NODE_ENV=development when it is not already set, so the framework's debug output (stack traces, response-validation detail) is on.
burger-api dev
# or, in a scaffolded project:
bun run dev
For production, run burger-api build first and then burger-api start. See CLI Tool.