Skip to content

Fraud-Buster/fraudbuster-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fraudbuster Backend

Overview

Fraudbuster is a backend service designed to detect and prevent fraudulent activities. This README provides an overview of the project, setup instructions, and usage guidelines.

Features

  • Real-time fraud detection
  • Scalable architecture
  • RESTful API
  • Detailed logging and monitoring

Prerequisites

  • Node.js >= 14.x
  • npm >= 6.x
  • MongoDB

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/fraudbuster-backend.git
  2. Navigate to the project directory:
    cd fraudbuster-backend
  3. Install dependencies:
    npm install

Configuration

  1. Create a .env file in the root directory and add the following environment variables:
    DB_CONNECTION_STRING=mongodb://localhost:27017/fraudbuster
    PORT=3000
    JWT_SECRET=your_jwt_secret

Running the Application

  1. Start the development server:
    npm run dev
  2. The server will be running at http://localhost:3000.

API Endpoints

  • POST /api/v1/login - User login
  • POST /api/v1/register - User registration
  • GET /api/v1/transactions - Get all transactions
  • POST /api/v1/transactions - Create a new transaction

Testing

Run the test suite using:

npm test

Contributing

Contributions are welcome! Please read the contributing guidelines first.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries, please contact [email protected].

About

This is the backend for fraudbuster-frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •