{"id":20536019,"url":"https://github.com/seaql/sea-orm-tutorial","last_synced_at":"2025-07-21T22:36:24.487Z","repository":{"id":38039159,"uuid":"455243662","full_name":"SeaQL/sea-orm-tutorial","owner":"SeaQL","description":"ebook for SeaORM tutorial","archived":false,"fork":false,"pushed_at":"2024-09-05T05:25:52.000Z","size":2220,"stargazers_count":38,"open_issues_count":3,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T12:46:46.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.sea-ql.org/sea-orm-tutorial/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeaQL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"SeaQL"}},"created_at":"2022-02-03T16:35:20.000Z","updated_at":"2025-03-07T16:05:21.000Z","dependencies_parsed_at":"2023-02-11T22:01:06.433Z","dependency_job_id":null,"html_url":"https://github.com/SeaQL/sea-orm-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SeaQL/sea-orm-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeaQL%2Fsea-orm-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeaQL%2Fsea-orm-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeaQL%2Fsea-orm-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeaQL%2Fsea-orm-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeaQL","download_url":"https://codeload.github.com/SeaQL/sea-orm-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeaQL%2Fsea-orm-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266393619,"owners_count":23922424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T00:35:04.927Z","updated_at":"2025-07-21T22:36:24.467Z","avatar_url":"https://github.com/SeaQL.png","language":"Rust","funding_links":["https://github.com/sponsors/SeaQL"],"categories":[],"sub_categories":[],"readme":"# SeaORM Tutorials\n\nThis repository contains step-by-step tutorials on how to use SeaORM to do CRUD operations on databases in the Rust Language.\n\nThe tutorial is based on a software system for managing a simple database to store information of bakeries.\n\nThe tutorials contain the following chapters:\n\n1. [**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.\n2. [**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.\n3. [**GraphQL Integration**](https://www.sea-ql.org/sea-orm-tutorial/ch03-00-integration-with-graphql.html) - This chapter extends the RESTful API of the web application in Chapter 2 to a GraphQL API with only one endpoint but enhanced flexibility of query.\n\n[![Discord](https://img.shields.io/discord/873880840487206962?label=Discord)](https://discord.com/invite/uCPdDXzbdv)\n\nFor additional help on **SeaORM** specific questions, join the support Discord chat.\n\n## Running the tutorials\n\nTo run the tutorial code, switch to the directory of the tutorial and run cargo\n\n```sh\n# Switch to tutorial directory\n$ cd tutorial-folder-name\n\n# Run cargo\n$ cargo run\n```\n\n\n\n## Running the tutorial book\n\nTo run the tutorial book as local host first install [mdbook](https://crates.io/crates/mdbook)\n\n```sh\n$ cargo install mdbook\n```\n\nThen switch to the book folder in the current tutorial directory\n\n```sh\n$ cd tutorials-book\n```\n\nThen run mdbook\n\n```sh\n$ mdbook serve --open\n```\n\nThis will open the book in your default browser. Alternatively, access it from any browser by visiting [http://localhost:3000](http://localhost:3000)\n\n## License\n\nThe information and examples provided in this repository are licensed under **Apache-2.0**\n\nCheers!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseaql%2Fsea-orm-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseaql%2Fsea-orm-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseaql%2Fsea-orm-tutorial/lists"}