https://github.com/bedtime-coders/bedstack-stripped
⚡ Stripped version of Bedstack for rapid prototyping
https://github.com/bedtime-coders/bedstack-stripped
backend bun drizzle elysiajs realworld realworld-backend server typescript web
Last synced: 7 months ago
JSON representation
⚡ Stripped version of Bedstack for rapid prototyping
- Host: GitHub
- URL: https://github.com/bedtime-coders/bedstack-stripped
- Owner: bedtime-coders
- License: mit
- Created: 2025-06-15T17:11:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-23T21:28:03.000Z (8 months ago)
- Last Synced: 2025-06-23T22:36:51.719Z (8 months ago)
- Topics: backend, bun, drizzle, elysiajs, realworld, realworld-backend, server, typescript, web
- Language: TypeScript
- Homepage: https://bedstack.js.org
- Size: 430 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
Bedstack (Stripped)
[](https://github.com/bedtime-coders/bedstac/actions/workflows/tests.yml?query=branch%3Amain+event%3Apush) [](https://discord.gg/8UcP9QB5AV) [](https://github.com/bedtime-coders/bedstack-stripped/blob/main/LICENSE) [](https://bun.sh/) [](https://elysiajs.com/) [](https://drizzle.team/) [](https://biomejs.dev/) [](https://scalar.com/) [](https://github.com/bedtime-coders/bedstack-stripped/stargazers/)
⚡ Stripped version of [Bedstack](https://github.com/bedtime-coders/bedstack) for rapid prototyping
## Bedstack: Bun + ElysiaJS + Drizzle Stack
**Bedstack** is a collection of bleeding-edge technologies to build modern web applications.
Including:
- **B**: [Bun](https://bun.sh) - Runtime + package manager, [Biome](https://biomejs.dev) - Code quality
- **E**: [ElysiaJS](https://elysiajs.com) - HTTP Framework
- **D**: [Drizzle](https://orm.drizzle.team) - ORM
## How is this different from Bedstack?
This is a stripped version of [Bedstack](https://github.com/bedtime-coders/bedstack) for rapid prototyping, with the same core design, but simplified. See our [ARCHITECTURE.md](./ARCHITECTURE.md) for more details!
## Development
1. Install dependencies
```bash
bun install
```
2. Copy `.env.example` to `.env` and fill in the values
```bash
cp .env.example .env
```
3. Start the database server
```bash
bun db:start
```
4. Push the database schema to the database
```bash
bun db:push
```
5. Start the development server
```bash
bun dev
```
6. (Optional) Start the [database studio](https://orm.drizzle.team/drizzle-studio/overview)
```bash
bun db:studio
```
## Testing
Run all tests:
```bash
bun run test # Not `bun test`!
```
Or run different test suites individually:
```bash
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:
> ```bash
> cp .env.test.example .env.test
> ```
## Building for production
> [!TIP]
> See more info in ElysiaJS's [building for production](https://elysiajs.com/tutorial.html#build-for-production) guide.
1. Build the app
```bash
bun run build # not `bun build`!
```
2. Run the production server (preview)
```bash
bun preview
```
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information, including how to set up your development environment.