Skip to content

Backend Routes

Raz Efron edited this page Feb 26, 2020 · 2 revisions

api

users

  • POST Oauth2 - sign in to the app via google
  • DELETE Oauth2 - sign out of the app via google
  • GET /api/users/:id - fetch user data
  • PATCH /api/users/:id/edit - update user data
  • POST /api/users/new - signup a new user to our database

calendar

  • GET to google calendar api - fetch user calendar from google api

weather

  • GET to Dark Sky api - fetch weather info for the day, location based

directions

  • GET to google directions api - fetch directions customized to user settings

Clone this wiki locally