Skip to content

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
    • Users Controller
      • POST /api/users
        • sign up
      • Show /api/users
        • Overview page
    • 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
    • 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
    • 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
    • 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
Clone this wiki locally