This project is a backend service designed to trace and analyze URL redirects. It allows users to input a URL and get a detailed trace of all the redirects that occur, providing insights into the path taken by the request.
- URL Redirect Tracing: Trace the complete path of redirects for any given URL.
- Detailed Reports: Get comprehensive details of each redirect step, including status codes and destination URLs.
- API Integration: Simple API endpoints to integrate redirect tracing into other applications.
- Node.js and npm installed
-
Clone the repository:
git clone https://github.com/sonugpc/redirect-tracer-backend.git cd redirect-tracer-backend
-
Install dependencies:
npm install
-
Configure the service:
- Rename
config/example.config.js
toconfig/config.js
. - Edit
config/config.js
to include your configuration settings.
module.exports = { port: 3000, someOtherConfig: 'value' };
- Rename
Run the service with:
node index.js