This monorepo blueprint allows you to kickstart your projects with Bun, Turborepo, Biome and TypeScript.
Take advantage of the pre-configured setup to accelerate your development process with the efficiency of modern tools.
This is a blueprint for a REST API with Hono.
💎 README
This is a blueprint for a web app with Next.js.
💎 README
This is a blueprint for a typesafe API with oRPC.
💎 README
Important
Prerequisite is the global installation of Bun as runtime, Turborepo for task orchestration and optionally Docker for containerization.
- Clone the blueprint:
bunx degit kporten/blueprint my-project - Follow the setup instructions in each app blueprint that you want to use.
- Install the dependencies:
bun install - Start the development servers:
turbo dev
🎉 Now you can get up and running with your ideas!
# start development servers
turbo dev
# build apps
turbo build
# check types
turbo typecheck
# execute tests
turbo test
# execute tests in watch mode
turbo test:watch# check format and lint
turbo check
# fix format and lint issues
turbo check:fix# generate database migrations
turbo db:generate
# apply database migrations
turbo db:migrate
# check database migrations
turbo db:check
# push database schemas
turbo db:push
# seed database data
turbo db:seedNote
Configuration: turbo.json
# build docker images
docker compose build
# start docker containers
docker compose up