A modern, full-stack web application boilerplate built with speed and developer experience in mind.
brew install tursodatabase/tap/turso
)turso db create [your-db-name]
turso db show [your-db-name]
turso db tokens create [your-db-name]
Clone the repository:
git clone https://github.com/osmanorhan/breeze-stack.git
cd breeze-stack
Install dependencies:
pnpm install
Create a .env file:
DATABASE_URL="libsql://[your-db-url]"
DATABASE_AUTH_TOKEN="[your-token]"
SESSION_SECRET="[your-session-secret]"
Generate Prisma client:
pnpm run db:generate
Generate auth tables:
pnpm dlx @better-auth/cli generate --config ./app/lib/auth.server.ts
Apply migrations:
pnpm dlx prisma migrate dev --name init
Apply initial migrations to Turso:
turso db shell [your-db-name] < ./prisma/migrations/20250104172246_init/migration.sql
Start the development server:
pnpm run dev
βββ app/
β βββ components/ # Reusable components
β βββ lib/ # Utilities and configurations
β βββ routes/ # File-based routing
β βββ styles/ # Global styles
βββ prisma/
β βββ migrations/ # Database migrations
β βββ schema.prisma # Database schema
When making changes to the schema:
prisma/schema.prisma
npx prisma migrate dev --name [descriptive-name]
turso db shell [your-db-name] < ./prisma/migrations/[timestamp]_[name]/migration.sql
Authentication is handled by Better Auth. The setup includes:
MIT
Contributions are welcome! Please feel free to submit a Pull Request. Check our roadmap for planned features or suggest new ones.