Welcome to the PayEase project! Our platform simplifies payment and transaction management, offering both backend and frontend solutions.
To get the backend server up and running, please follow these steps:
-
Optionally, you can run the following command to install backend dependencies:
npm install
-
Navigate to the backend directory:
cd backend npm install
-
In the backend directory, you'll find an
env.example
file. Duplicate this file and rename it to.env
. -
Open the
.env
file and populate it with the required environment variables:JWT_SECRET=//YourSecretKeyHere MONGODB_URL=//YourMongoDBURLHere
Replace
//YourSecretKeyHere
with your chosen secret key for JWT (JSON Web Tokens) and//YourMongoDBURLHere
with your MongoDB connection URL. -
Save the
.env
file. -
Start the server by running the following command:
node index.js
Once launched successfully, you should see the following output in your terminal:
App listening on port 3001 Connecting to MongoDB
To begin with the frontend application, follow these steps:
-
Navigate to the frontend directory:
cd frontend npm install
-
Run the following command to start the application:
npm run dev
This command will initiate the frontend application.