A RESTful API built for consumption by the Executer client apps, which originated as the winning project in Uber's first international hackathon.
Executer automatically schedules a ride via Uber for events in your Google Calendar.

Uber API <- -> Executer for iOS
\ /
-> Executer API <-
/ \
GCal API <- -> Executer for Android
Check out the repos of mobile apps that already use the Executer backend:
Get the app running locally in the following way:
# Clone the Repo
git clone https://github.com/andela/executer-api
cd executer-api
# Install dependencies
npm install
# Create .env file and set the following environment variables and add the necessary values
DB_URL=mongodb://localhost/executer
GOOGLE_CAL_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GOOGLE_CAL_CLIENT_SECRET=xxxxxxxxxxxxxxxx
UBER_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
UBER_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
UBER_SERVER_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Run the app
gulp default
The server will now be running at http://localhost:5555
GETcalendar- Returns calendar events after Google OAuth
GETlocation- Returns location in Address form when supplied
lngandlat, and vice versa
- Returns location in Address form when supplied
GETlogin- Redirects to Uber Login
POSTlogin- Creates login session
GETrequests/shared- ???
GETtrips/:uuid- Returns information about a particular trip
POSTtrips/:uuid- Creates a new trip
GETuber/callback- ???
GETuser- Returns user data and access token when sent Uber Login Credentials
GETusers/:id/requests- Returns requests for a particular user
GETusers/:uuid/requests/:id- Returns particular request for a particular user
DELETEusers/:uuid/requests/:id- Deletes an existing request
Code released under the MIT license.
