BudgetBuddy is a personal finance tracker that helps users manage expenses and savings effectively. Built with modern web technologies, it offers a seamless experience for tracking financial transactions and generating insightful reports.
- Expense Tracking: Log daily expenses and categorize them for easy management.
- Savings Goals: Set and track savings goals with real-time updates.
- Data Visualization: Interactive charts and graphs to visualize your financial data.
- Secure Authentication: User accounts secured with Clerk authentication.
- Frontend: Next.js, Shadcn/ui, React, TypeScript
- State Management: React Query
- Backend: Prisma, PostgreSQL
- Authentication: Clerk
- Visualization: Recharts
Ensure you have the following installed:
- Node.js (v14.x or later)
- npm or yarn
- PostgreSQL (v12.x or later)
-
Clone the repository:
git clone https://github.com/yourusername/BudgetBuddy.git cd BudgetBuddy
-
Install dependencies:
Using npm:
npm install
Using yarn:
yarn install
-
Setup the environment variables:
Create a
.env
file in the root directory and add the following:DATABASE_URL=postgresql://username:password@localhost:5432/budgetbuddy NEXT_PUBLIC_CLERK_FRONTEND_API=<your_clerk_frontend_api> CLERK_API_KEY=<your_clerk_api_key>
Replace the placeholders with your PostgreSQL and Clerk credentials.
-
Migrate the database:
npx prisma migrate dev
-
Run the development server:
npm run dev
or
yarn dev
Your app should now be running on http://localhost:3000.
- Add Transactions: Navigate to the "Transactions" page to log new expenses or income.
- View Reports: Use the "Reports" page to visualize your spending and savings trends.
- Manage Account: Access the "Account" page to update your profile and manage your budget.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-branch-name
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Connect with me on social media:
- Twitter: @devhimanshuu
- LinkedIn: Himanshu Gupta
- Email: devhimanshuu@gmail.com
- Hashnode: TechSphere
Feel free to reach out if you have questions, suggestions, or just want to chat about BudgetBuddy
Happy coding! 🚀