This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Start, Convex, and more.
- TypeScript - For type safety and improved developer experience
- TanStack Start - SSR framework with TanStack Router
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- Convex - Reactive backend-as-a-service platform
- Authentication - Better-Auth
- 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.
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.
- Web dev: cd apps/web && bun run dev
- Web deploy: cd apps/web && bun run deploy
- Web destroy: cd apps/web && bun run destroy
For more details, see the guide on Deploying to Cloudflare with Alchemy.
tanweihup.dev/
├── apps/
│ ├── web/ # Frontend application (React + TanStack Start)
├── 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 apps