2nd Backend Homework
Goal of this homework is to extend GraphQL API from previous homework with possibility to mutate data. All the resolvers should mutate data in DB, not the mock data.
Goals (some things should be finished during the practical class):
- [ ] API has some initial data seeded
- [ ] API has ability to read books
- [ ] API has ability to read authors
- [ ] API has ability to read book by ID
- [ ] API has ability to read author by ID
- [ ] API has ability to read author's book
- [ ] API has ability to read book's author
- [ ] API has ability to create new books / authors
- [ ] API has ability to update existing book / author
- [ ] API has ability to delete existing book / author
Deadline: Monday 21/10/2024 - 23:59:59
If you have any problems contact your teacher using MS Teams: Petr Vnenk (@vnep00).
Troubleshooting
Changes are not shown in GraphQL sandbox at all
Don't forget to build code and restart the server.
Once you are finished
- send a link to sandbox page
- add example queries for all 6 cases
- using MS Teams to: Petr Vnenk (@vnep00)
Deadline: Monday 20/10/2025 - 23:59:59