Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chapter 3 - GraphQL Integration Example #14

Merged
merged 63 commits into from
Jul 15, 2022
Merged

Add Chapter 3 - GraphQL Integration Example #14

merged 63 commits into from
Jul 15, 2022

Conversation

shpun817
Copy link
Member

@shpun817 shpun817 commented Jul 5, 2022

@billy1624 @tyt2y3 Ready for review.

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Please add our example for chapter 3 to READMD.md

  • 1. [**Bakery Backend**](https://www.sea-ql.org/sea-orm-tutorial/ch01-00-build-backend-getting-started.html) - This chapter covers the basics of using SeaORM to interact with the database (a MySQL database is used for illustration). On top of this backend you can build any interface you need.
    2. [**Rocket Integration**](https://www.sea-ql.org/sea-orm-tutorial/ch02-00-integration-with-rocket.html) - This chapter explains how to integrate the SeaORM backend into the Rocket framework to create a web application that provides a web API or even a simple frontend.

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

I think we can add one extra endpoint for debugging / experimental purpose: /graphql served with GET request

The UI is user friendly and easy to play around with GraphQL. Most importantly it provide the schema, query and mutation info.

We add a page to introduce this optional "feature". With a few screen capture (of your own) and showing the schema info panel, query and mutation operations.

Implementation: shpun817/sea-orm-tutorial@master...billy1624:pr/14

image

image

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Hey @shpun817, all in all it looks great!! :D

@shpun817
Copy link
Member Author

shpun817 commented Jul 12, 2022

@billy1624 Thanks for the comments!

GraphQL Subscription currently cannot be unsupported by SeaORM, will open an issue for it. (Issue #868)

Otherwise, Chapter 3 is again ready for review!

@billy1624 billy1624 linked an issue Jul 15, 2022 that may be closed by this pull request
Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Thanks!! @shpun817 Appreciated :D

@billy1624 billy1624 merged commit d20ef39 into SeaQL:master Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Plans to Revamp SeaORM Tutorial
3 participants