Skip to content

ChamathNT/Finance_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

📌 Finance Tracker (Backend)

IT22338266 | Thilakarathna S N R W W C N

The Finance Tracker(Backend) is a Node.js + Express API with MongoDB as the database, built to manage personal finance operations such as transactions, budgets, financial goals, and reports. It provides a robust backend solution for tracking and analyzing financial data while ensuring secure authentication and efficient data management.

📖 Full API Documentation: Click Here


🛠 Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/SE1020-IT2070-OOP-DSA-25/project-ChamathNT.git

2️⃣ Navigate to the Server

cd project-project-ChamathNT/server

3️⃣ Install Dependancies

npm install

4️⃣ Setup Environment Variables

# Server Configuration
PORT=5000

# Database Configuration
MONGODB_URI=mongodb+srv://your_username:your_password@cluster.mongodb.net/your_db

# JWT Authentication
ACCESS_TOKEN_SECRET=access_token_secret
REFRESH_TOKEN_SECRET=refresh_token_secret

5️⃣ Run the Server

npm start

✅ Running Tests (Jest)

🎯 Run All Tests

npm test

📊 Run Tests with Coverage Report

npm test -- --coverage

📊 Run a Specific Test File

npm test -- customerDashServices.test.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors