1.0.5 • Published 4 years ago
gateway-for-api v1.0.5
Contents
concept
Here API Gateway is used for authenticating user request to Resource Server when Authentication server validate the user for accessing Resource Server Resources. If Authentication Server,Deny user access for resource then User will be UnAuthorized for that particular Resource. Through this we don't have to put resource access validation at different levels. We don't have to cache the Resources on multiple sources as well.
Libraries Used
- Axios for creating request to Authentication Server and Resource Servers as well.
Commands for running server
For running development server
npm run dev
For running production server
npm run prod
Production environment
It uses the node.js cluster module for running server with multiple threads.