0.1.9 • Published 8 years ago

simple-api-gateway v0.1.9

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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"
  )
})
0.1.9

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago