ges134 / budget-r

Budget-R is a web application allowing you to manage personal finances. Get all your financial information at one glance!
2 stars 3 forks source link

Ledger creation endpoint #99

Closed ges134 closed 5 years ago

ges134 commented 5 years ago

The ledger creation endpoint should mandatorily take :

Optionally, it can also take a parent ledger id. That way, the ledger can be saved as a tree set in the database.

The endpoint should also be authenticated. Plus, it should also verify that the budget it passed in the request belongs to the user.

Since the application is going to allow insertion and modification at the same time, the ledger creation endpoint should support PUT