Skip to content

Trackify is a full-stack expense tracking application designed to help users manage their personal finances with ease. Built using the MERN stack (React, Node.js, Express, and MongoDB), it features a modern, responsive UI powered by Tailwind CSS and includes session-based authentication, expense analytics, and budgeting tools.

Notifications You must be signed in to change notification settings

superdudeneel/react-trackify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Trackify

A full-stack expense tracking application with a modern React + Vite frontend and a Node.js/Express + MongoDB backend.

Features

  • User authentication (signup, login, logout)
  • Secure session management
  • Add, view, and categorize expenses
  • Dashboard with analytics and KPIs
  • Profile management and monthly budget setting
  • Responsive, mobile-optimized UI with Tailwind CSS
  • SweetAlert2 for user notifications

Project Structure

/
│
├── backend/         # Node.js/Express API server
│   ├── index.js
│   ├── package.json
│   └── models/
│       ├── userschema.js
│       └── expenseschema.js
│
└── frontend/        # React + Vite client
    ├── src/
    │   ├── App.jsx
    │   ├── main.jsx
    │   ├── index.css
    │   ├── pages/
    │   │   ├── Home.jsx
    │   │   ├── Signup.jsx
    │   │   ├── Login.jsx
    │   │   └── Dashboard.jsx
    │   └── components/
    ├── package.json
    ├── vite.config.js
    └── index.html

Tech Stack

  • Frontend: React, Vite, Tailwind CSS, React Router, Lucide Icons, SweetAlert2
  • Backend: Node.js, Express, MongoDB, Mongoose, bcrypt, express-session, connect-mongo, dotenv, cors

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • MongoDB instance (local or cloud)

Backend Setup

  1. Navigate to the backend folder:
    cd backend
  2. Install dependencies:
    npm install
  3. Create a .env file with:
    MONGO_URI=your_mongodb_connection_string
    PORT=7000
    FRONT_END_URI=http://localhost:5173
    SMTP_USER = <your email address>
    SMTP_PASS = <your app password>
    
  4. Add a uploads/ folder:
    mkdir uploads
    
  5. Start the backend server:
    npm start

Frontend Setup

  1. Navigate to the frontend folder:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
  4. Open http://localhost:5173 in your browser.

Usage

  • Sign up for a new account.
  • Log in to access your dashboard.
  • Add and manage expenses, set your monthly budget, and view analytics.

Scripts

Backend

  • npm start — Start the backend server with nodemon

Frontend

  • npm run dev — Start the Vite dev server
  • npm run build — Build for production
  • npm run preview — Preview the production build
  • npm run lint — Run ESLint

License

This project is licensed under the ISC License.

About

Trackify is a full-stack expense tracking application designed to help users manage their personal finances with ease. Built using the MERN stack (React, Node.js, Express, and MongoDB), it features a modern, responsive UI powered by Tailwind CSS and includes session-based authentication, expense analytics, and budgeting tools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages