Closed amaclean2 closed 2 years ago
/user
/login
/add
/other
/edit
/
/line
/detail
/tick
/activity
💡 Note: I'm not using routes except for external APIs which I haven't developed yet. I'm converting all the routes to GQL schemas.
Reopening to transition to GQL
GQL conversion complete
Routing Layers
User Layer
/user
/login
POST - login user/add
POST - add user/other
GET - get another user's data/edit
PUT - edit user/
DELETE - delete userLines Layer
/line
/
POST - get all lines for an area/add
POST - add a line/detail
GET - get a line's full details/edit
PUT - edit a line/
DELETE - delete a lineTicks Layer
/tick
/add
POST - add a new tick/line
GET - get all ticks for a line/user
GET - get all ticks for a userActivities Layer
/activity
/add
POST - add a new activity/line
GET - get all ticks for a line/user
GET - get all ticks for a user💡 Note: I'm not using routes except for external APIs which I haven't developed yet. I'm converting all the routes to GQL schemas.