This project was created with Better-T-Stack, a modern TypeScript stack that combines Nuxt, Hono, ORPC, and more.
- TypeScript - For type safety and improved developer experience
- Nuxt - The Intuitive Vue Framework
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- Hono - Lightweight, performant server framework
- oRPC - End-to-end type-safe APIs with OpenAPI integration
- Bun - Runtime environment
- Drizzle - TypeScript-first ORM
- PostgreSQL - Database engine
- Authentication - Better-Auth
- Turborepo - Optimized monorepo build system
- Oxlint - Oxlint + Oxfmt (linting & formatting)
- Tauri - Build native desktop applications
First, install the dependencies:
bun installThis project uses PostgreSQL with Drizzle ORM.
-
Make sure you have a PostgreSQL database set up.
-
Update your
apps/server/.envfile with your PostgreSQL connection details. -
Apply the schema to your database:
bun run db:pushThen, run the development server:
bun run devOpen http://localhost:3001 in your browser to see the web application. The API is running at http://localhost:3000.
coinche-reborn/
βββ apps/
β βββ web/ # Frontend application (Nuxt)
β βββ server/ # Backend API (Hono, ORPC)
βββ packages/
β βββ api/ # API layer / business logic
β βββ auth/ # Authentication configuration & logic
β βββ db/ # Database schema & queries
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run dev:web: Start only the web applicationbun run dev:server: Start only the serverbun run check-types: Check TypeScript types across all appsbun run db:push: Push schema changes to databasebun run db:studio: Open database studio UIbun run check: Run Oxlint and Oxfmtcd apps/web && bun run desktop:dev: Start Tauri desktop app in developmentcd apps/web && bun run desktop:build: Build Tauri desktop app