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.examplefile. Duplicate this file and rename it to.env. -
Open the
.envfile and populate it with the required environment variables:JWT_SECRET=//YourSecretKeyHere MONGODB_URL=//YourMongoDBURLHereReplace
//YourSecretKeyHerewith your chosen secret key for JWT (JSON Web Tokens) and//YourMongoDBURLHerewith your MongoDB connection URL. -
Save the
.envfile. -
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.