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