Skip to content

copelandsoftware/api-gateway-local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:

Building an API Gateway in AWS is rather simplistic. One benefit of API Gateway, is that it can export the swagger definitions. Other than using this definition for documentation, you can also use it to drive your integration tests with the implementing lambdas.

Example:

const lambda     = require('../index.js');
const startApiGateway = () => apigateway(lambda, './swagger.yaml')
  .then(httpServer => {
    http.server = httpServer;
  });
  before(() => {
    api.start();
    return startApiGateway();
  });

Credits:

Draws inspiration from: https://github.com/ToQoz/api-gateway-localdev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%