## Resources & API
Everything is done through OAuth.
Name | Description | Type |
---|---|---|
id | Identifier | Long |
user | Google user | User (appengine) |
subscriptions | Locations subscriptions | List of locations id |
Everything is related to the authenticated user. An user cannot manage other users.
GET /users
POST /users
GET /users/subscriptions
POST /users/subscriptions/{locationId}
DELETE /users/subscriptions/{locationId}
Name | Description | Type |
---|---|---|
id | Identifier | Long |
name | Name | String |
lng | Longitude | Double |
lat | Latitude | Double |
GET /locations/{id}
GET /locations
#### Create a location
POST /locations
DELETE /locations/{id}
Name | Description | Type |
---|---|---|
id | Identifier | Long |
location | Location's id | Long |
participants | Participants' id | List of user id |
POST /events
GET /events/{id}
GET /events
Build project :
mvn clean package
Start local server :
mvn appengine:devserver
You can acces the local API explorer here :
http://localhost:9090/_ah/api/explorer
Hot-reload is available too :
mvn package
And local Datastore is here :
http://localhost:9090/_ah/admin
To deploy on App Engine :
mvn appengine:update
Enjoy! 👯