Skip to content
purushothaman-webPublic

About

A full-stack MERN expense tracker featuring budget management, recurring payments, professional PDF exports, and admin analytics with a modern, responsive UI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💸 Spend Log

Track every penny, grow your savings.

Spend Log is a modern, full-stack web app for managing your daily expenses and income. Built with React (frontend) and Node.js/Express + MongoDB (backend), it features secure authentication, persistent storage, and a beautiful, responsive UI.


🎬 Live Demo

Spend Log Demo


✨ Features

  • 🔐 Authentication: Register, login, email verification, and password reset
  • 💸 Expense & Income Tracking: Add, edit, and delete entries
  • 🔎 Smart Filters: Filter and search by category, date, or name
  • 📊 Visual Reports: Pie, bar, and trend charts with Chart.js
  • 🎯 Budgeting: Set and visualize a monthly budget
  • 📤 Export: Download your data as CSV or PDF
  • 🌙 Dark Mode: Beautiful, accessible design for day or night
  • 🛡️ Security: JWT authentication, password hashing, rate limiting, and more

🛠️ Tech Stack

  • Frontend: React, Tailwind CSS, Chart.js
  • Backend: Node.js, Express, MongoDB (Mongoose)
  • Security: JWT, bcrypt, helmet, express-rate-limit, xss-clean
  • Docs: Swagger (API docs at /api-docs)

📁 Project Structure

├── backend/         # Express API & MongoDB models
│   ├── routes/
│   ├── models/
│   ├── middleware/
│   └── server.js
├── client/          # React frontend
│   ├── src/
│   └── public/
├── assets/          # Images, screenshots
├── screencapture.gif # Demo animation
├── .gitignore
├── README.md
└── ...

🚀 Getting Started

1. Clone the repository

git clone https://github.com/purushothaman-web/spend-log.git
cd spend-log

2. Set up environment variables

Backend

  1. Go to the backend/ directory.
  2. Copy .env.example to .env.
    cd backend
    cp .env.example .env
  3. Open .env and fill in your values (MongoDB URI, JWT secrets, Email settings).

Client

  1. Go to the client/ directory.
  2. Copy .env.example to .env.
    cd ../client
    cp .env.example .env
  3. Update REACT_APP_API_URL if your backend is running on a different port (default is 5000).

3. Install dependencies

# Install backend dependencies
cd ../backend
npm install

# Install client dependencies
cd ../client
npm install

4. Run the application

Run Backend

cd backend
npm start
# or for development with auto-reload:
# npm run dev

Run Frontend

cd client
npm start

🌐 Deployment


🔒 Security & Best Practices

  • .gitignore protects .env, node_modules, and build files
  • Use strong passwords for your database and email
  • Update dependencies regularly
  • Never share your MongoDB URI or secrets publicly

📝 API Documentation

  • Swagger UI available at: http://localhost:5000/api-docs

🧑‍💻 Contributing

Contributions are welcome! Please open an issue or pull request for bug fixes, features, or suggestions.


🙋‍♂️ Need Help?

Open an issue or discussion on the repository!

About

A full-stack MERN expense tracker featuring budget management, recurring payments, professional PDF exports, and admin analytics with a modern, responsive UI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages