Skip to content
Expense Tracker

Expense Tracker

rack smart. Spend wiser

Created on 8th September 2025

•

Expense Tracker

Expense Tracker

rack smart. Spend wiser

The problem Expense Tracker solves

Managing personal finances can be overwhelming, especially with scattered transactions, impulsive spending, and a lack of visibility into where money is going. Most people rely on mental tracking, spreadsheets, or overly complex tools that don’t align with their daily habits.

Challenges we ran into

  1. Handling Authentication Securely with JWT

One of the early challenges was implementing secure user authentication using JWTs in a Next.js environment. Since Next.js handles both frontend and backend, properly managing tokens between API routes and client-side logic was tricky.

Solution:
We used httpOnly cookies for token storage to prevent XSS attacks and structured the auth flow using middleware to protect sensitive API routes. We also ensured password hashing was correctly handled using bcrypt.

  1. Responsive and Minimal UI with Limited Tokens

Designing a clean and responsive UI with minimal code due to token limits was a constraint. Using a CSS framework like Tailwind would've helped, but it added extra boilerplate.

Solution:
We opted for custom, lightweight CSS and reusable components to minimize repetition while keeping the UI intuitive and responsive.

Discussion

Builders also viewed

See more projects on Devfolio