Skip to content

kkig/apiGateway-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway with Node

Example API Gateway with Node. Setting up API Gateway between client and server can improve security. For complex applications, you can set up more than one API Gateway. For more details, please read this article.

API

  • /login Authenticate user using express-session.

  • /logout Log out user.

  • /search?q=x&format=json Forward to microservice - currently reach to duckduckgo. Pre-Authentication required to access the endpoint. The endpoint is defined in config.js file.

Run Server

npm run dev

If you prefer to have more loggin, you can try:

npm run log

About

Testing API Gateway with node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published