API Endpoints - minute-tutor/back-end GitHub Wiki
/getUserByID/<id>
Will return the Google user with the ID <id> inside the User schema
/findUsersBySkill/<skill>
Will return an array of all the Google users with skill <skill>.
/newUser/
With body fields as x-www-form-urlencoded:
-
id(From Google) -
email(From Google) -
name(From Google) descriptionskillsrateskypeID
/addReview/
With body fields as x-www-form-urlencoded:
-
id(From Google) -
reviewStars to rate
/updateLogin/
With body fields as x-www-form-urlencoded:
-
id(From Google) -
timestampCurrent time in milliseconds
/updateDescription/
With body fields as x-www-form-urlencoded:
-
id(From Google) description
/updateRate/
With body fields as x-www-form-urlencoded:
-
id(From Google) rate
/updateSkypeID/
With body fields as x-www-form-urlencoded:
-
id(From Google) skypeID
/addSkill/
With body fields as x-www-form-urlencoded:
-
id(From Google) skill