A full-stack MERN application to track expenses with user authentication.
- 🔐 User registration & login (JWT auth)
- ➕ Add, ✏️ update & ❌ delete expenses
- 📜 View expense history
- 📱 Responsive frontend (React + Tailwind)
- ⚡ REST API (Node.js + Express + MongoDB)
- Frontend: React, TailwindCSS, Axios
- Backend: Node.js, Express, MongoDB Atlas, JWT
- Deployment: Render (backend) + Netlify (frontend)
📂 Expense-Tracker
├── 📁 backend # Express + MongoDB API
├── 📁 frontend # React + Tailwind client
└── README.md
git clone https://github.com/Arjun8242/Expense-Tracker.git
cd Expense-Tracker- Backend Setup
cd backend
npm installCreate a .env file inside backend folder:
MONGO_URI=your_mongodb_atlas_uri
JWT_SECRET=your_secret_key
CLIENT_URL=http://localhost:5173 # for localRun backend:
npm start👉 Backend runs at: http://localhost:5000
- Frontend Setup
cd frontend
npm installCreate a .env file inside frontend folder:
VITE_API_URL=http://localhost:5000Run frontend:
npm run dev👉 Frontend runs at: http://localhost:5173
🤝 Contributing
Contributions are welcome!
1.Fork the repo
2.Create a branch (git checkout -b feature-name)
3.Commit changes (git commit -m "Added new feature")
4.Push (git push origin feature-name)
5.Open a Pull Request
🙌 Thank You
Thank you for checking out this project! 💙 If you like it, don’t forget to ⭐ the repo and contribute to make it even better.
👨💻 Made with ❤️ by Arjun