A simple API Gateway implemented using Express.js, http-proxy-middleware, and axios for proxying requests to a booking service. Includes rate limiting and authentication checks.
- Clone the repository.
- Install dependencies with
npm install
. - Start the server with
npm start
. - Access the booking service through the gateway at
http://localhost:3005/bookingservice
.
/bookingservice
: Proxies requests to a booking service after performing rate limiting and authentication checks.
- Express.js
- http-proxy-middleware
- morgan
- express-rate-limit
- axios
Feel free to customize and extend based on your specific requirements.