Giter Club home page Giter Club logo

letmein-server's Introduction

LetMeIn Sync Server

Download and install the Go App Engine SDK:

For the remaining steps, I will assume that you have it in your path, and you have Go set up for normal development.

Download this package:

goapp get github.com/russross/letmein-server

Customize it. Create a new App Engine project and note the ID that you use:

Copy that project ID into app.yaml on the line beginning with application: (replace "letmein-app" with your ID).

Create a web client OAuth ID for your project according to the Endpoints tutorail instructions. Create another one for your Android client. Put these both in a file called config.json like this:

{
    "OAuthClientID": "your-client-id-here.apps.googleusercontent.com",
    "OAuthAndroidID": "your-android-id-here.apps.googleusercontent.com"
}

Deploy your app:

goapp deploy

You may be prompted for your Google username and password.

Next, create the Android API stubbs. First generate the discovery API document:

curl -s https://your-app-id.appspot.com/_ah/api/discovery/v1/apis/letmein/v1/rest > letmein.rest.discovery

Inspect it to make sure it looks okay (it should have information about the API calls). Then use it to generate the Android API classes:

endpointscfg.py gen_client_lib java -bs gradle letmein.rest.discovery

This will create a file called letmein.rest.zip with the Endpoints API classes. Add this to your Android project according to the Endpoints Android tutorial and use it to connect your app to your server.

letmein-server's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.