Skip to content

SergioJuniorCE/budget

Repository files navigation

budget

This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Router, Convex, and more.

Features

  • 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

Getting Started

First, install the dependencies:

bun install

Convex Setup

This project uses Convex as a backend. You'll need to set up Convex before running the app:

bun run dev:setup

Follow 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 dev

Open http://localhost:3001 in your browser to see the web application. Your app will connect to the Convex cloud backend automatically.

Deployment (Cloudflare via Alchemy)

  • 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.

Git Hooks and Formatting

  • Format and lint fix: bun run check

Project Structure

budget/
├── apps/
│   ├── web/         # Frontend application (React + TanStack Router)
├── packages/
│   ├── backend/     # Convex backend functions and schema

Available Scripts

  • bun run dev: Start all applications in development mode
  • bun run build: Build all applications
  • bun run dev:web: Start only the web application
  • bun run dev:setup: Setup and configure your Convex project
  • bun run check-types: Check TypeScript types across all apps
  • bun run check: Run Oxlint and Oxfmt

About

Budgeting app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors