An open API service indexing awesome lists of open source software.

https://github.com/maciekt07/expensetracker

💸 A MERN stack application for tracking personal expenses.
https://github.com/maciekt07/expensetracker

expense-manager expense-tracker expense-tracker-app expenses jwt jwt-authentication mern-project mern-stack mongodb

Last synced: 16 days ago
JSON representation

💸 A MERN stack application for tracking personal expenses.

Awesome Lists containing this project

README

        



💸 Expense Tracker


A simple expense tracker application with authentication built with the MERN stack.

![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/maciekt07/ExpenseTracker?color=%230061FF)
![GitHub last commit](https://img.shields.io/github/last-commit/maciekt07/ExpenseTracker?color=%230061FF)
![GitHub License](https://img.shields.io/github/license/maciekt07/ExpenseTracker?color=%230061FF)



## Tech stack



  • react React


  • redux Redux


  • ts TypeScript


  • vite Vite


  • Tailwind Tailwind CSS


  • daisyui DaisyUI


  • nodejs Node.js


  • express Express


  • mongodb MongoDB

## Features

- Dark Mode
- Currency Selection with Intl API [https://codepen.io/maciekt07/pen/zYVdPLy](https://codepen.io/maciekt07/pen/zYVdPLy)
- Profile Picture Upload
- JWT Authentication

## To run this project locally

### 1. Clone the Repository

First, clone the project repository from GitHub.

```bash
git clone https://github.com/maciekt07/ExpenseTracker.git
cd ExpenseTracker
```

### 2. Configure Environment Variables

Create a .env file and fill it with your MongoDB token and JSON Web Token (JWT) key. You can use .env.example as a reference for the required format.

```env
MONGODB_URI=your_mongodb_token
JWT_SECRET=your_jwt_secret
```

### 3. Install Backend Dependencies

```bash
npm install
```

### 4. Install Frontend Dependencies

```bash
cd frontend
npm install
```

### 5. Run the Server and Client

```bash
cd ..
npm run dev
```

The server will start running on port 8000.

The client will start running on port 5173.

## Credits

Made with ❤️ by [maciekt07](https://github.com/maciekt07).

Inspired by [Traversy Media Course](https://youtu.be/-0exw-9YJBo?si=Sb0nOUDenxp5Ez3X).