Skip to content

Add Chapter 3 - GraphQL Integration Example#14

Merged
billy1624 merged 63 commits intoSeaQL:masterfrom
shpun817:master
Jul 15, 2022
Merged

Add Chapter 3 - GraphQL Integration Example#14
billy1624 merged 63 commits intoSeaQL:masterfrom
shpun817:master

Conversation

@shpun817
Copy link
Copy Markdown
Member

@shpun817 shpun817 commented Jul 5, 2022

@billy1624 @tyt2y3 Ready for review.

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

2 participants