- Clone the repository / Click "Use this template"
- Find-and-replace "repo-author" with the repository author (can be a username or an organization)
- Find-and-replace "repo-name" with the repository name
- Find-and-replace "project-name" with your project name
- Find-and-replace "Project Title" with your project title
- Follow
<!-- Badges instructions: -->
above (see raw code) - Edit
LICENSE
and add name + year - Remove this section
Bedstack is a collection of bleeding-edge technologies to build modern web applications.
Including:
- B: Bun - Runtime + package manager, Biome - Code quality
- E: ElysiaJS - HTTP Framework
- D: Drizzle - ORM
-
Install dependencies
bun install
-
Copy
.env.example
to.env
and fill in the valuescp .env.example .env
-
Push the database schema to the database
bun db:push
-
Start the server
bun dev
-
(Optional) Start the database studio
bun db:studio
bun run test # Not `bun test`!
Tip
See more info in ElysiaJS's building for production guide.
-
Build the app
bun run build # not `bun build`!
-
Run the production server (preview)
bun preview
See CONTRIBUTING.md for more information, including how to set up your development environment.