Created CRUD APIs for inventory categories and inventory items.
Implemented functionality to delete associated items when inventory categories are deleted.
Resolved the unique validation issue in the template categories API.