Track your daily meals, tiffin vendors, and expenses effortlessly.
Mealtracker is a Full-stack web app built with Next.js, Neon Postgres, and Tailwind CSS to help you keep track of your daily tiffins and vendor payments.
It’s perfect for individuals, small offices, or hostels who want a simple and beautiful way to manage daily meal costs.
- 🍱 Meal Logging: Record each meal with vendor name, price, and date.
- 💰 Monthly Expense Overview: See your total spend, meals taken, and cost trend.
- 👨🍳 Vendor Management: Add, edit, or remove vendors — track which ones are active.
- 📅 Smart Filters: Filter meals by vendor, meal type (breakfast/lunch/dinner), and month.
- 📊 Analytics Dashboard: Visualize meal and expense data in one place.
- 🌗 PWA Ready: Fully responsive, and installable as a mobile app.
- 🔒 Auth Protected: Dashboard and data are secured behind authentication.
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 + TypeScript |
| Styling | Tailwind CSS + shadcn/ui |
| Database | Neon Postgres |
| Authentication | better-auth |
| State Management | Zustand |
| Animations | Framer Motion + GSAP |
| Charts | Recharts |
| Hosting | Vercel |
git clone https://github.com/yourusername/mealtracker.git
cd mealtrackerpnpm install.envDatabase URI#Generate migration files (if schema changes)
npx drizzle-kit generate
# Apply migrations to database
npx drizzle-kit migratepnpm devThis project is licensed under the MIT License — you’re free to use, modify, and distribute it. LICENSE