Skip to content

Repository files navigation

API Gateway

Restana Node Javascript JWT/JSON Web Token

This service is scaffolded on Restana which is a super fast, minimalist framework.

Configuring Proxies

Specify proxy routes in ./config.yml.

routes:
  - name: service-name
    prefix: '/service-prefix'
    target: 'http://localhost:6969'

cors:
  - 'http://localhost:6000'

exclusions:
  - '/identity-api'
  - '/favicon.ico'
  - '/'

routes - service url to proxy (w/authentication). cors - list of origins to enable cors. exclusions - paths to exclude authentication.

Commands

npm start

Runs the app in production mode.


npm run dev

Runs the app in development mode.

About

API gateway for backend services

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages