-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
featureIntroduces a new and complete featureIntroduces a new and complete feature
Description
Post a hotel entity
POST hotels/
create the handler and DB accessor, models, and handler tests for creating a single hotel
Some things to keep in mind:
- all errors returned from the handler should be the internal error (500) except 400, where the request body is invalid (users from the FE shouldn't need to know what went wrong in our backend)
- validation logic should be done where necessary, especially for request body where field isn't optional
Metadata
Metadata
Assignees
Labels
featureIntroduces a new and complete featureIntroduces a new and complete feature