-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
mayagbarnes edited this page Apr 15, 2021
·
3 revisions
GET / StaticPagesController#root
-
GET /api/users- Returns the user's dashboard of all accounts -
POST /api/users- Sign up
-
POST /api/session- Log In -
DELETE /api/session- Log Out
-
GET /api/accounts- Returns all current user's accounts -
GET /api/account/:id- Returns specific account information -
POST /api/accounts- Creates an account -
PATCH /api/accounts/:id- Edits an account -
DELETE /api/accounts/:id- Removes an account
-
GET /api/transactions- Returns all current user's transactions -
GET /api/transactions/:accountId- Returns transactions for a particular account -
POST /api/transactions- Creates a transaction -
PATCH /api/transactions/:id- Edits a transaction -
DELETE /api/transactions/:id- Removes a transaction -
GET /api/transactions/search- Returns current user's transactions filtered by search term
-
GET /api/investments- Returns all current user's investments -
GET /api/investments/:accountId- Returns investments for a particular account -
POST /api/investments- Creates an investment -
PATCH /api/investments/:id- Edits an investment -
DELETE /api/investments/:id- Removes an investment -
GET /api/investments/search- Returns current user's investments filtered by search term