Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.47 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.47 KB

PayEase

Welcome to the PayEase project! Our platform simplifies payment and transaction management, offering both backend and frontend solutions.

Backend Setup

To get the backend server up and running, please follow these steps:

  1. Optionally, you can run the following command to install backend dependencies:

    npm install
  2. Navigate to the backend directory:

    cd backend
    npm install
  3. In the backend directory, you'll find an env.example file. Duplicate this file and rename it to .env.

  4. 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.

  5. Save the .env file.

  6. 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

Frontend Setup

To begin with the frontend application, follow these steps:

  1. Navigate to the frontend directory:

    cd frontend
    npm install
  2. Run the following command to start the application:

    npm run dev

    This command will initiate the frontend application.