-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Jacob Prall edited this page Aug 17, 2020
·
2 revisions
- Backend
- Session Controller
- POST /api/session
- log in
- DELETE /api/session
- log out
- POST /api/session
- Users Controller
- POST /api/users
- sign up
- Show /api/users
- Overview page
- POST /api/users
- Accounts Controller
- GET /api/accounts
- fetch all accounts
- POST /api/accounts
- create an account
- PATCH /api/accounts
- edit account
- GET /api/accounts/account_id
- show all transactions for one account
- GET /api/accounts
- Transactions Controller
- GET /api/transactions
- fetch all transactions for one account
- GET /api/transactions/transactionId
- fetch single transaction details
- POST /api/transactions
- create a transaction
- PATCH /api/transactions/transactionId
- edit a transaction
- DELETE /api/transactions/transactionId
- delete a transaction
- GET /api/transactions
- Goals
- GET /api/goals
- fetch all goals
- GET /api/goals/goalId
- fetch single goal's details
- POST /api/goals
- create a goal
- PATCH /api/goals/goalId
- edit a goal
- DELETE /api/goals/goalId
- delete a goal
- GET /api/goals
- Bills Controller
- GET /api/bills
- fetch all bills
- GET /api/bills/billId
- fetch single bill's details
- POST /api/bills
- create a bill
- PATCH /api/bills/billId
- edit a bill
- DELETE /api/bills/billId
- delete a bill
- GET /api/bills
- Session Controller