Skip to content

feat: add venue and schedule_item api#27

Merged
frostming merged 16 commits intobamboo-cms:mainfrom
180909:feature/add-venue-and-schedule-item
Mar 18, 2024
Merged

feat: add venue and schedule_item api#27
frostming merged 16 commits intobamboo-cms:mainfrom
180909:feature/add-venue-and-schedule-item

Conversation

@180909
Copy link
Copy Markdown
Contributor

@180909 180909 commented Dec 27, 2023

No description provided.

YogiLiu and others added 7 commits January 2, 2024 22:59
* ci: add workflow to test docker

Signed-off-by: Frost Ming <[email protected]>

* fix port

Signed-off-by: Frost Ming <[email protected]>

* copy .env

Signed-off-by: Frost Ming <[email protected]>

* wrong name

Signed-off-by: Frost Ming <[email protected]>

* use docker

Signed-off-by: Frost Ming <[email protected]>

---------

Signed-off-by: Frost Ming <[email protected]>
Copy link
Copy Markdown
Contributor

@frostming frostming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments, one must consider how the API will be used by the CMS to decide what should be included in the input and output.

venue = Venue.query.get_or_404(venue_id)
db.session.delete(venue)
db.session.commit()
return ""
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing an endpoint to list all schedule_items associated to a specific venue, the route should be /<int:venue_id>/schedules

@frostming
Copy link
Copy Markdown
Contributor

Please resolve the conflicts, we have merged some changes recently

@frostming frostming merged commit afc381f into bamboo-cms:main Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants