This project is a Full Stack MERN application designed for facilitating money transfers, akin to a financial transaction application.
- 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
Before setting up the project, ensure you have the following installed:
-
Node.js
-
npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/IronJosh786/moneyTransfer.git
-
Change to the project directory
cd moneyTransfer
-
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
-
Install the dependencies
npm install
-
Start the development server
npm start
Handles user-related functionalities such as registration, login, viewing all users, and updating user profiles.
Manages transactions between users, including sending money to other users and viewing transaction history.
Model for user information including username, email, password (hashed), and profile details.
Model to store information about transactions, including sender, receiver, amount, date/time, and any additional details.