Git Product home page Git Product logo

ironjosh786 / mern-money-transfer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 126 KB

This project is a Full Stack MERN application designed for facilitating money transfers, akin to a financial transaction application.

Home Page: https://mern-money-transfer.vercel.app/

JavaScript 91.58% HTML 0.74% CSS 7.68%
aggregation-pipeline cloudinary expressjs jwt mongodb-atlas mongoose multer nodejs reactjs bcrpyt

mern-money-transfer's Introduction

Money Transfer

This project is a Full Stack MERN application designed for facilitating money transfers, akin to a financial transaction application.

Live Demo

Check out the live demo of the Money Transfer Web Application: Live Demo

Table of Contents

Features

  • User registration and authentication
  • User login/logout functionality
  • View all registered users
  • Send money to other users (new transaction)
  • View transaction history
  • Update user profile information

Getting Started

Prerequisites

Before setting up the project, ensure you have the following installed:

  • Node.js

  • npm (Node Package Manager)

Installation

  1. Clone the repository:

    git clone https://github.com/IronJosh786/moneyTransfer.git
  2. Change to the project directory

    cd moneyTransfer
  3. Create a .env file in the root directory and configure the following environment variables:

    PORT,
    CORS_ORIGIN,
    MONGODB_URI,
    ACCESS_TOKEN_SECRET,
    ACCESS_TOKEN_EXPIRY,
    REFRESH_TOKEN_SECRET,
    REFRESH_TOKEN_EXPIRY,
    CLOUDINARY_CLOUD_NAME,
    CLOUDINARY_API_KEY,
    CLOUDINARY_API_SECRET
  4. Install the dependencies

# Frontend

cd Frontend
npm install

# Backend

cd Backend
npm install
  1. Start the development server
# Backend

cd Backend
npm start

# Frontend

cd Frontend
npm run dev
  1. Open your browser and navigate to http://localhost:5173 to view the application.

Controllers

1. User Controller

Handles user-related functionalities such as registration, login, viewing all users, and updating user profiles.

2. Transaction Controller

Manages transactions between users, including sending money to other users and viewing transaction history.

Models

1. User Model

Model for user information including username, email, password (hashed), and profile details.

2. Transaction Model

Model to store information about transactions, including sender, receiver, amount, date/time, and any additional details.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  • Fork the repository
  • Create your feature branch
git checkout -b feature/YourFeature
  • Commit your changes
git commit -am 'Add some feature'
  • Push to the branch
git push origin feature/YourFeature
  • Create a new Pull Request

mern-money-transfer's People

Contributors

ironjosh786 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.