SpendWise is a Full-Stack SaaS application designed to help users efficiently track their expenses. It provides insightful analytics and seamless payment management using Stripe.
- Expense Tracking: Easily add, edit, and delete expenses.
- Analytics Dashboard: Gain insights into spending patterns using PostHog.
- User Authentication: Secure authentication system.
- Subscription Management: Integrates with Stripe for managing payments.
- Responsive UI: Built with a modern and intuitive design for a seamless experience.
Frontend:
- Next.js
- TypeScript
- TailwindCSS
Backend:
- Node.js (Next.js API routes)
- PostgreSQL (Database)
- Prisma ORM
Other Services:
- Stripe (Payments)
- PostHog (Analytics)
- Kinde (Authentication)
Ensure you have the following installed:
- Node.js
- PostgreSQL
- A Stripe account
- A PostHog account
-
Clone the repository:
git clone https://github.com/your-username/spendwise.git cd spendwise
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file and add the following variables:DATABASE_URL=your_database_url NEXT_PUBLIC_STRIPE_KEY=your_stripe_key POSTHOG_API_KEY=your_posthog_key
-
Run database migrations:
npx prisma migrate dev
-
Start the development server:
npm run dev
- Register or log in to your account.
- Add your expenses and categorize them.
- View analytics to understand your spending habits.
- Subscribe to premium features via Stripe for enhanced tracking.
This project is licensed under the MIT License.