Skip to content

bedtime-coders/bedstack-stripped

Repository files navigation

Logo for Bedstack RealWorld example

Bedstack (Stripped)

Tests Status Discord License Bun ElysiaJS Drizzle Biome Scalar Star

⚡ Stripped version of Bedstack for rapid prototyping

Bedstack: Bun + ElysiaJS + Drizzle Stack

Bedstack is a collection of bleeding-edge technologies to build modern web applications.

Including:

How is this different from Bedstack?

This is a stripped version of Bedstack for rapid prototyping, with the same core design, but simplified. See our ARCHITECTURE.md for more details!

Development

  1. Install dependencies

    bun install
  2. Copy .env.example to .env and fill in the values

    cp .env.example .env
  3. Start the database server

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

    bun db:push
  5. Start the development server

    bun dev
  6. (Optional) Start the database studio

    bun db:studio

Testing

Run all tests:

bun run test # Not `bun test`!

Or run different test suites individually:

bun test:api # Run the API tests
bun test:unit # Run the unit tests

Tip

To create test-specific environment configuration, create a .env.test file. You may use .env.test.example as a template:

cp .env.test.example .env.test

Contributing

See CONTRIBUTING.md for more information, including how to set up your development environment.

Contributors 2

  •  
  •