
Visit https://bedstack.js.org to learn more about the stack you don't want to sleep on ππ€
Let's share a BED - join our Discord server
-
Clone and install dependencies
gh repo clone agnyz/bedstack cd bedstack bun i
-
Create a
.env
filecp .env.example .env
Use the provided example values or replace them with your own.
-
Ensure Docker daemon is running and spin up the Postgres+Bun container
bun db
-
Migrate the schema to the database
bun db:migrate
-
Run the development server
bun dev
-
Run the API tests
bun run test # not `bun test`!
Tip
See more info in ElysiaJS's Building for production guide.
-
Build the app
bun build
-
Run the server
bun preview
See Developer's Guide.