Skip to content

robinsharma/starter-kit-appengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to your AppEngine starter kit

Setup

Install Python SDK for Google AppEngine

Run debug server

make
# your debug server is now running at localhost:8080

Run tests:

make test

API.js

API.js is a tiny JavaScript interface for making API calls convenient.

Simply include it in your webapp and you will be able to make API calls to this service:

<script src="http://localhost:8080/api.js"></script>

To make an API call in your JavaScript:

API('POST', '/example/', { value: 'data' },
    function (response, status) {
        // "response" is JSON output from the service
        // "status" is the HTTP status code returned by the API call
    }
);

To make an authenticated API call:

API.auth('POST', '/example/', { value: 'data' },
    function (response, status) {
        // same as above
    }
);

About

AppEngine service starter kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published