This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Router, Convex, and more.
- TypeScript - For type safety and improved developer experience
- TanStack Router - File-based routing with full type safety
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- Convex - Reactive backend-as-a-service platform
- Authentication - Better-Auth
- Oxlint - Oxlint + Oxfmt (linting & formatting)
- Turborepo - Optimized monorepo build system
First, install the dependencies:
bun installThis project uses Convex as a backend. You'll need to set up Convex before running the app:
bun run dev:setupFollow the prompts to create a new Convex project and connect it to your application.
Copy environment variables from packages/backend/.env.local to apps/*/.env.
Then, run the development server:
bun run devOpen http://localhost:3001 in your browser to see the web application. Your app will connect to the Convex cloud backend automatically.
- Dev: cd apps/web && bun run alchemy dev
- Deploy: cd apps/web && bun run deploy
- Destroy: cd apps/web && bun run destroy
For more details, see the guide on Deploying to Cloudflare with Alchemy.
- Format and lint fix:
bun run check
budget/
├── apps/
│ ├── web/ # Frontend application (React + TanStack Router)
├── packages/
│ ├── backend/ # Convex backend functions and schema
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run dev:web: Start only the web applicationbun run dev:setup: Setup and configure your Convex projectbun run check-types: Check TypeScript types across all appsbun run check: Run Oxlint and Oxfmt