Skip to content

Instantly share code, notes, and snippets.

@amazingandyyy
Last active January 2, 2017 22:27
Show Gist options
  • Save amazingandyyy/3801e5d2da49ab191f4567bfa7ebb06c to your computer and use it in GitHub Desktop.
Save amazingandyyy/3801e5d2da49ab191f4567bfa7ebb06c to your computer and use it in GitHub Desktop.
Yeah Education Group RESTful API

server

https://yeah-server.herokuapp.com

Docs

~/user

request endpoint body response
POST /signup { email: 'email', password: 'password', name: 'name' } { "success": true, "token": "token" }
POST /signin { email: 'email', password: 'password' } { "token": "token" }

~/volunteer

all request under volunteer need a Authorization header with vilidated token

request endpoint body response
POST /createOneOrg { orgName: 'This is a orgnization' } {orgData}
GET /getOneOrg/?orgId=5864632bb54f4150add883c8 {orgData}
GET /getAllOrgs {an array with orgDatas}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment