A simple full-stack expense tracker app built with Node.js, Express, MongoDB Atlas, and HTML/CSS/JS.
Track your daily expenses easily with a clean and user-friendly interface.
- Add, edit, and delete expenses
- Categorize expenses by type
- View expense history
- Date-based filtering
- Responsive design
mini-expense-tracker/ β βββ backend/ # Node.js + Express server β βββ .env # Environment variables (ignored in Git) β βββ ... β βββ frontend/ # HTML/CSS/JS client βββ README.md
- Clone the repository:
git clone https://github.com/username/mini-expense-tracker.git
cd mini-expense-tracker/backend
2. Install dependencies:
npm install
3. Create a .env file in backend/ and add:
MONGO_URI=your_mongodb_connection_string
PORT=5000
4. Start the backend server:
node server.js
5. Open frontend/index.html in your browser.
Tech Stack
Backend: Node.js, Express, MongoDB Atlas
Frontend: HTML, CSS, JavaScript
Version Control: Git & GitHub
Notes
.env is ignored and should not be pushed to GitHub.
Use your own MongoDB Atlas connection string for testing.