Badget aims to simplify financial management with a user-friendly interface and robust backend
See the codeUshering in a new era of financial management with cutting-edge AI. Badget redefines how you track, analyze, and optimize your finances, ensuring smarter, more secure financial decisions.
Introduction · Installation · Tech Stack + Features · Architecture · Contributing
Welcome to Badget, the "Copilot for Money" - an AI-powered financial management platform that provides unparalleled insights into your spending habits and financial patterns. Built with a family-first design, Badget empowers households to budget better, track expenses effortlessly, and achieve their financial goals through intelligent automation and real-time insights.
Key Features:
Badget implements a dual-layer architecture with clean separation between authentication and business logic:
Next.js 15, Better-auth, Prisma, PostgreSQL, Shadcn/ui, Tailwind CSS, Framer Motion, and TypeScript.
All seamlessly integrated to accelerate financial management innovation.
Badget follows a clean, scalable architecture:
.
├── src # Main project lives here
│ ├── actions # Server actions for auth and business logic
│ ├── app # Next.js App Router structure
│ │ ├── (marketing) # Public marketing pages
│ │ ├── api # API routes
│ │ └── dashboard # Protected dashboard area
│ ├── components # Reusable UI components
│ │ ├── auth # Authentication components
│ │ ├── sections # Landing page sections
│ │ └── ui # Shadcn/ui components
│ ├── lib # Utilities and configurations
│ └── generated # Generated Prisma client
├── prisma # Database schema and migrations
└── README.md
Clone & create this repo locally with the following command:
git clone https://github.com/codehagen/Badget
pnpm install
npx prisma init --db --output ../src/generated/prisma
.env.example to .env.local and update the variables:cp .env.example .env.local
Set up your environment variables:
The .env.example file contains detailed explanations for each variable. Key requirements:
For Google Auth Setup:
To use Google as a social provider, create a new project in the Google Cloud Console.
In Google Cloud Console > Credentials > Authorized redirect URIs, set:
http://localhost:3000/api/auth/callback/googlehttps://yourdomain.com/api/auth/callback/googlePush the database schema:
# Generate Prisma client and push schema
pnpm db:generate
pnpm db:push
# Start the development server with Turbopack
pnpm dev
We love our contributors! Here's how you can contribute:
824 followers · starred Jan 2024
345 followers · starred Feb 2024
1,004 followers · starred Feb 2024
21 followers · starred Feb 2024
Badget aims to simplify financial management with a user-friendly interface and robust backend
See the codeUshering in a new era of financial management with cutting-edge AI. Badget redefines how you track, analyze, and optimize your finances, ensuring smarter, more secure financial decisions.
Introduction · Installation · Tech Stack + Features · Architecture · Contributing
Welcome to Badget, the "Copilot for Money" - an AI-powered financial management platform that provides unparalleled insights into your spending habits and financial patterns. Built with a family-first design, Badget empowers households to budget better, track expenses effortlessly, and achieve their financial goals through intelligent automation and real-time insights.
Key Features:
Badget implements a dual-layer architecture with clean separation between authentication and business logic:
Next.js 15, Better-auth, Prisma, PostgreSQL, Shadcn/ui, Tailwind CSS, Framer Motion, and TypeScript.
All seamlessly integrated to accelerate financial management innovation.
Badget follows a clean, scalable architecture:
.
├── src # Main project lives here
│ ├── actions # Server actions for auth and business logic
│ ├── app # Next.js App Router structure
│ │ ├── (marketing) # Public marketing pages
│ │ ├── api # API routes
│ │ └── dashboard # Protected dashboard area
│ ├── components # Reusable UI components
│ │ ├── auth # Authentication components
│ │ ├── sections # Landing page sections
│ │ └── ui # Shadcn/ui components
│ ├── lib # Utilities and configurations
│ └── generated # Generated Prisma client
├── prisma # Database schema and migrations
└── README.md
Clone & create this repo locally with the following command:
git clone https://github.com/codehagen/Badget
pnpm install
npx prisma init --db --output ../src/generated/prisma
.env.example to .env.local and update the variables:cp .env.example .env.local
Set up your environment variables:
The .env.example file contains detailed explanations for each variable. Key requirements:
For Google Auth Setup:
To use Google as a social provider, create a new project in the Google Cloud Console.
In Google Cloud Console > Credentials > Authorized redirect URIs, set:
http://localhost:3000/api/auth/callback/googlehttps://yourdomain.com/api/auth/callback/googlePush the database schema:
# Generate Prisma client and push schema
pnpm db:generate
pnpm db:push
# Start the development server with Turbopack
pnpm dev
We love our contributors! Here's how you can contribute:
824 followers · starred Jan 2024
345 followers · starred Feb 2024
1,004 followers · starred Feb 2024
21 followers · starred Feb 2024