Skip to content

bedtime-coders/bedstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logo for Bedstack RealWorld example

Bedstack

Tests Status Discord License Bun ElysiaJS Drizzle Biome Scalar Star

RealWorld example app for Bun + ElysiaJS + Drizzle

bedstack.js.org

Tip

⚑ New! We've created a stripped version of Bedstack, with only the essential features for rapid prototyping. Check it out: Bedstack (Stripped)

⚑ New! We've added support for Drizzle v1 Beta in Bedstack (Stripped). Check it out: drizzle-v1 in Bedstack (Stripped)

Quickstart

  1. Clone and install dependencies

    gh repo clone bedtime-coders/bedstack
    cd bedstack
    bun i
  2. Create a .env file

    cp .env.example .env

    Use the provided example values or replace them with your own.

  3. Ensure Docker daemon is running and start the database service

    bun db:start
  4. Migrate the schema to the database

    bun db:migrate
  5. Run the development server

    bun dev
  6. Run the API tests

    bun run test # not `bun test`!
  7. (Optional) Start the database studio

    bun db:studio

Building for production

Tip

See more info in ElysiaJS's Building for production guide.

  1. Build the app

    bun run build # not `bun build`!
  2. Run the server

    bun preview

Contributing

See Developer's Guide.

About

πŸ›ŒπŸ’€ Bun + ElysiaJS + Drizzle = the stack you don't want to sleep on

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 7