Skip to content

Princekashish/Mealtracker

Repository files navigation

🥗 Mealtracker

Track your daily meals, tiffin vendors, and expenses effortlessly.

Mealtracker Banner

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.


✨ Features

  • 🍱 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.

🧩 Tech Stack

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

🚀 Getting Started

1️. Clone the repository

git clone https://github.com/yourusername/mealtracker.git
cd mealtracker

2. Install Dependencies

pnpm install

3. Environment Configuration

.env

4. Database setup

Database URI

4. Database Migration

#Generate migration files (if schema changes)
npx drizzle-kit generate

# Apply migrations to database
npx drizzle-kit migrate

5. Run the Development Server

pnpm dev

🧾 License

This project is licensed under the MIT License — you’re free to use, modify, and distribute it. LICENSE


Design & Built ❤️ by Prince kashish

About

MealTracker helps you log and track your daily meals, manage vendors, and monitor spending so you never overpay.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages