Socket
Socket
Sign inDemoInstall

simple-api-gateway

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    simple-api-gateway

API Gateway setup tool. Very easy, very simply.


Version published
Maintainers
1
Created

Readme

Source

Simple API Gateway

Build Status MIT License

API Gateway is awsome service in Amazon Web Services. But It is a little difficult setting, because setting item is many. This module provide to easy interactive setting for API Gateway. Very easy. Very simple.

Install

$ npm install -g simple-api-gateway

Setup(AWS-CLI)

You need AWS-CLI.

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install wget
$ brew install awscli

And please setup AWS-CLI's configure

$ aws configure

How to use

Create API.

$ apigw create

Edit API.

$ apigw edit

Deploy and Publish API.

$ apigw deploy

Delete API.

$ apigw delete

Client Code Examples

Use jQuery Ajax on browsers

JQuery(document).ready(function(){
  JQuery.post("<your API Endpoint>",
    '{ "say" : "hello" }',
    function(data){
      console.log(data)
    },
    "json"
  )
})

FAQs

Last updated on 22 Jul 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc