Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.2 KB

Installation.md

File metadata and controls

60 lines (46 loc) · 1.2 KB

Installation

  • Here is the image for your reference.

Installation Image


To run the Request Analyzer locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Swarnendu0123/http-request-inspector
  2. Navigate to the project directory:

    cd http-request-inspector
  3. Install dependencies for the server:

    cd server
    npm install
  4. Open another terminal and Install dependencies for the client:

    cd client
    npm install
  5. Start the server:

    npm run dev
  6. Start the client:

    npm run dev
  7. Now the front end is running on http://localhost:5173. The backend is running on http://localhost:8000.

  8. Go to client\config.js and set the BACKEND_URL to http://localhost:8000

    export const BACKEND_URL = 'http://localhost:8000';
  9. Go to server\config.js and select all and paste the code:

    const BACKEND_URL = 'http://localhost:8000';
    const FRONTEND_URL = 'http://localhost:5173/';
    
    module.exports = {
          BACKEND_URL,
          FRONTEND_URL,
    };

Now, you are good to go.