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

https://github.com/pragatisharma21/finance-app


https://github.com/pragatisharma21/finance-app

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Finance App
πŸ“Š Finance App Backend

πŸš€ Overview

This is the backend for the Finance App, providing secure and scalable APIs for financial data management, user authentication, and transactions. Built using Node.js, Express.js, and MongoDB, this backend ensures efficient handling of user data and financial records.

πŸ”Ή Features

βœ… User Authentication (Signup/Login with JWT)βœ… Transaction Management (Create, Read, Update, Delete)βœ… Expense Tracking (Categorization & Summaries)βœ… Secure API Endpoints (Middleware for authorization)βœ… RESTful API Architectureβœ… MongoDB for Data Storageβœ… Environment Configuration using .env

πŸ› οΈ Tech Stack

Backend: Node.js, Express.js

Database: MongoDB (Mongoose ORM)

Authentication: JWT (JSON Web Token)

Middleware: Express Middleware for security & validation

Hosting: Deployed on Vercel

πŸ“ Folder Structure

finance-app-backend/
β”‚-- src/
β”‚ β”‚-- controllers/ # Business logic
β”‚ β”‚-- models/ # Mongoose models
β”‚ β”‚-- routes/ # API routes
β”‚ β”‚-- middleware/ # Authentication & validation
β”‚ β”‚-- config/ # Database & environment setup
β”‚ β”‚-- index.js # Entry point
β”‚-- .env # Environment variables
β”‚-- package.json # Dependencies & scripts
β”‚-- README.md # Project documentation

πŸ”§ Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/your-repo/finance-app-backend.git
cd finance-app-backend

2️⃣ Install Dependencies

npm install

3️⃣ Set Up Environment Variables

Create a .env file in the root directory and add:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret

4️⃣ Start the Server

npm start

The backend will run on http://localhost:5000

πŸ“Œ API Endpoints

πŸ”Ή Authentication

POST /api/auth/signup β†’ User Registration

POST /api/auth/login β†’ User Login (JWT Token)

πŸ”Ή Transactions

GET /api/transactions β†’ Get All Transactions

POST /api/transactions β†’ Add a Transaction

PUT /api/transactions/:id β†’ Update Transaction

DELETE /api/transactions/:id β†’ Delete Transaction

πŸš€ Deployment

This backend is deployed on Vercel. You can access it at:πŸ”— Finance App Backend

πŸ“ License

This project is open-source and available for modification and distribution.

## Created By Pragati🩷
# Deployment Link
Vercel deployment: [Finance Manager App](https://finance-app-three-ashen.vercel.app/)