Tip
β‘ New! Our Prisma-based alternative to Bedstack was just approved on CodebaseShow. Check it out: Bepstack
Tip
β‘ New! We've added support for Drizzle v1 Beta in Bedstack (Stripped). Check it out: drizzle-v1
branch
-
Clone and install dependencies
gh repo clone bedtime-coders/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 start the database service
bun db:start
-
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`!
-
(Optional) Start the database studio
bun db:studio
Tip
See more info in ElysiaJS's Building for production guide.
-
Build the app
bun run build # not `bun build`!
-
Run the server
bun preview
See Developer's Guide.