Updated the CORS configuration to permit any HTTP method for specified origins. This change enhances flexibility for client-server interactions while maintaining the defined security boundaries.
Implemented GET, POST, PUT, and DELETE endpoints for the `/inventory` resource. These endpoints provide full CRUD functionality, handling operations such as retrieval, creation, update, and deletion of inventory items in the database. Adds appropriate error handling for cases where inventory items are not found.