A simple API Gateway built from scratch that:
- Performs authorization on incoming requests
- Parses request headers
- Forwards requests to the appropriate service based on endpoint matching
From the project root directory, start each service:
node server.js
node services/users/server.js
node services/products/server.jsUse the following curl command to test the /users endpoint:
curl -H "basic_auth: my-secret-token-123" http://localhost:3000/usersNote: This project is still a work in progress and intended for development use only.