- Here is the image for your reference.
To run the Request Analyzer locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Swarnendu0123/http-request-inspector
-
Navigate to the project directory:
cd http-request-inspector
-
Install dependencies for the server:
cd server npm install
-
Open another terminal and Install dependencies for the client:
cd client npm install
-
Start the server:
npm run dev
-
Start the client:
npm run dev
-
Now the front end is running on
http://localhost:5173
. The backend is running onhttp://localhost:8000
. -
Go to
client\config.js
and set theBACKEND_URL
tohttp://localhost:8000
export const BACKEND_URL = 'http://localhost:8000';
-
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.