wd-David / snowball

A simple side project for personal accounting.
snowball-front-end.vercel.app
4 stars 1 forks source link

Need a route to get all categories #9

Closed wd-David closed 2 years ago

wd-David commented 2 years ago

@AdrieneTZ, I need an API endpoint that provides all categories, so users can select when creating/updating an expense.

The response body may look like this:

[
  {
    "categoryId": "56",
    "mainCategory": "Income",
    "subCategory": "W2 Income"
  }
]
AdrieneTZ commented 2 years ago

OK, I'll add this API for you later.