Skip to content

Travel Expense Manager is a full-stack web app for tracking, splitting, and analyzing your travel expenses—complete with budget monitoring, analytics, and currency conversion, so you always know where your money (and your friends’ money) went.

Notifications You must be signed in to change notification settings

RudraMudra/travel-expense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🧳 Travel Expense Manager

Welcome to the Travel Expense Manager – because who doesn’t love tracking every penny while traveling?
This project is a full-stack app (React + Node.js/Express + MongoDB) that lets you submit, track, and analyze your travel expenses, so you can feel guilty about that extra coffee in Paris.


🚀 Features

  • Expense Submission: Log your travel, accommodation, meals, and “Other” (aka, shopping sprees) expenses.
  • Budget Tracking: Set a monthly budget and watch yourself go over it in real time.
  • Analytics: Pie charts and tables to show you exactly where your money went (spoiler: it’s always food).
  • Group Splitting: Split expenses with friends, because nothing says “fun trip” like arguing over who owes what.
  • Currency Conversion: Converts your expenses to USD, so you can cry in a single currency.

⚙️ Quick Start

1. Clone the repo (because you’re not writing this from scratch, right?)

git clone https://github.com/RudraMudra/travel-expense.git
cd travel-expense

2. Backend Setup

cd travel-expense-server
cp .env.example .env   # Or just create .env and fill in your secrets
npm install
npm run dev            # Or npm start if you like living dangerously

3. Frontend Setup

cd ../travel-expense-manager
npm install
npm start

4. Environment Variables

  • Copy .env.example to .env in the backend folder.
  • Fill in your actual MongoDB URI, JWT secret, and Exchange Rate API key.
  • If you push your real .env to GitHub, may the security gods have mercy on your soul.

🤦 Common Issues & Tips

  • “username is required”: Your JWT probably doesn’t have a username. Fix your auth logic.
  • CORS errors: Because the browser hates you. Make sure your backend allows requests from your frontend.
  • MongoDB connection fails: Did you actually put your URI in .env? Or are you just hoping for the best?
  • Frontend/Backend not talking? Double-check your ports and URLs. Or just blame the network.

🛡️ Security

  • .env is in .gitignore. If you push it, that’s on you.
  • Don’t share your JWT secret. Seriously.

🙃 Contributing

PRs welcome! Just don’t break anything. Or do, but leave a funny comment.


📜 License

MIT – because why not.


Happy expense tracking!
(And remember: the real expense is the friends you made along the way.)

About

Travel Expense Manager is a full-stack web app for tracking, splitting, and analyzing your travel expenses—complete with budget monitoring, analytics, and currency conversion, so you always know where your money (and your friends’ money) went.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published