Skip to content

Kbiliak homework 3#3

Open
KBiliak wants to merge 6 commits intorusalforever:masterfrom
KBiliak:kbiliak-homework-3
Open

Kbiliak homework 3#3
KBiliak wants to merge 6 commits intorusalforever:masterfrom
KBiliak:kbiliak-homework-3

Conversation

@KBiliak
Copy link
Copy Markdown

@KBiliak KBiliak commented Apr 15, 2024

  1. Endpoint health was implemented and return status code 200
  2. breed and photo_url fields were added to animals
  3. Migration was added
    (flask db init - generate migration folder
    flask db stamp head - update database
    flask db migrate -m 'comment' - autogenerate migration script
    flask db upgrade - apply migration)
  4. Age field automatically computed and returned for every animal

List of animals with generated ages:
Screenshot 2024-04-14 at 23 00 35

Form to edit an existing animal:
Screenshot 2024-04-14 at 23 03 49

Form for adding a new animal:
Screenshot 2024-04-14 at 23 08 21

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.

1 participant