https://github.com/mrryt247/expense-tracker
A backend web application to monitor expenses built with Node.js, Express, and MongoDB.
https://github.com/mrryt247/expense-tracker
backend expressjs nodejs
Last synced: 3 months ago
JSON representation
A backend web application to monitor expenses built with Node.js, Express, and MongoDB.
- Host: GitHub
- URL: https://github.com/mrryt247/expense-tracker
- Owner: MrRyt247
- Created: 2024-12-01T13:25:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-29T22:30:14.000Z (about 1 year ago)
- Last Synced: 2025-05-18T20:07:56.337Z (about 1 year ago)
- Topics: backend, expressjs, nodejs
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expense Tracker API
A backend web application to monitor expenses built with Node.js, Express, and MongoDB.
## 📌 Overview
This expense tracker provides robust backend functionality for tracking and managing financial transactions. Built with a modular architecture, the application handles user authentication, transaction management, and proper error handling.
## ✨ Features
- RESTful API endpoints for transaction management
- User authentication with JWT
- Error handling and validation
- CORS support for cross-origin requests
- Modular project structure for scalability
## 🛠️ Technologies Used
- **Node.js** - JavaScript runtime environment
- **Express.js** - Web application framework
- **MongoDB** - NoSQL database
- **JSON Web Tokens (JWT)** - Secure authentication
- **JavaScript** - Programming language (100%)
## 📂 Project Structure
```
expense-tracker/
├── handlers/
│ └── errorHandler.js
├── managers/
│ └── jwtManager.js
├── middleware/
│ └── auth.js
├── models/
│ ├── transactionsModel.js
│ └── usersModel.js
├── modules/
│ ├── transactions/
│ │ ├── controllers/
│ │ │ ├── addExpense.js
│ │ │ ├── addIncome.js
│ │ │ ├── deleteTransaction.js
│ │ │ └── editTransactions.js
│ │ └── transactions.routes.js
│ └── users/
│ ├── controllers/
│ │ ├── login.js
│ │ ├── register.js
│ │ └── userDashboard.js
│ └── routes.routes.js
├── .gitignore
├── app.js
├── package-lock.json
├── package.json
└── README.md
```
## 🔧 Installation & Setup
### Prerequisites
- Node.js (v18 or higher recommended)
- MongoDB instance (local or Atlas)
### Installation
1. Clone the repository
```
git clone https://github.com/MrRyt247/expense-tracker.git
```
2. Navigate to the project directory
```
cd expense-tracker
```
3. Install dependencies
```
npm install
```
4. Start the server
```
nodemon app.js
```
## 📝 License
This project is open source and available under the MIT License.
## 👨💻 Author
- [MrRyt247](https://github.com/MrRyt247)