{"id":23224683,"url":"https://github.com/azzamsa/tin","last_synced_at":"2025-08-19T13:31:36.440Z","repository":{"id":65084522,"uuid":"552240637","full_name":"azzamsa/tin","owner":"azzamsa","description":"Rust GraphQL Template 🏗️","archived":false,"fork":false,"pushed_at":"2024-11-30T13:41:52.000Z","size":489,"stargazers_count":40,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-30T14:35:24.001Z","etag":null,"topics":["async-graphql","axum","boilerplate"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azzamsa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"azzamsa"}},"created_at":"2022-10-16T06:01:56.000Z","updated_at":"2024-11-30T13:41:56.000Z","dependencies_parsed_at":"2023-12-08T02:25:26.857Z","dependency_job_id":"19b50fb9-8261-4183-9a8f-23e038287e29","html_url":"https://github.com/azzamsa/tin","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azzamsa%2Ftin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azzamsa%2Ftin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azzamsa%2Ftin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azzamsa%2Ftin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azzamsa","download_url":"https://codeload.github.com/azzamsa/tin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230355730,"owners_count":18213528,"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","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":["async-graphql","axum","boilerplate"],"created_at":"2024-12-18T23:35:49.158Z","updated_at":"2024-12-18T23:35:49.827Z","avatar_url":"https://github.com/azzamsa.png","language":"Rust","funding_links":["https://github.com/sponsors/azzamsa"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src='docs/logo.svg' width=250px /\u003e\n\n\u003cbr/\u003e\n\u003ch4\u003eRust GraphQL Template 🏗️\u003c/h4\u003e\n\n\u003ca href=\"https://github.com/azzamsa/tin/actions/workflows/ci.yml\"\u003e\n    \u003cimg src=\"https://github.com/azzamsa/tin/actions/workflows/ci.yml/badge.svg\" alt=\"Build status\" /\u003e\n  \u003c/a\u003e\n\n\u003c/div\u003e\n\n---\n\n## Features\n\n- [Async-GraphQL](https://github.com/async-graphql/async-graphql): GraphQL server library.\n  - Supports Relay-compatible cursor-based pagination.\n  - Automatically disables Playground in the production environment for performance reasons.\n  - Automatically stores GraphQL schema to file.\n- [SQLx](https://github.com/launchbadge/sqlx): SQL toolkit.\n- [Axum](https://github.com/tokio-rs/axum): web framework.\n- [Tracing](https://github.com/tokio-rs/tracing): includes local timestamps.\n- [Frunk](https://github.com/lloydmeta/frunk): avoids writing repetitive boilerplate.\n- [utoipa](https://github.com/juhaku/utoipa): automatically generates OpenAPI documentation.\n- [git-cliff](https://github.com/orhun/git-cliff): Changelog Generator.\n- Includes exhaustive integration tests.\n  - Uses [Cynic](https://github.com/obmarg/cynic) as GraphQL client.\n  - Uses [Hurl](https://github.com/Orange-OpenSource/hurl) for API collection.\n- Utilizes fast and tiny image containers, leveraging [cargo-chef](https://github.com/LukeMathWalker/cargo-chef) and `scratch` or `distroless` images.\n- Implements GitHub Actions for CI and release workflows.\n- Removed Git hooks for continuous development (formatting, linting, testing) [commit link](https://github.com/azzamsa/tin/commit/d9906164db7eb30cf66e2ed32edb220c0787fe13).\n- Ensures consistent formatting using [dprint](https://github.com/dprint/dprint) for non-Rust files (Markdown, Dockerfiles, etc.).\n- Supports [cargo-binstall](https://github.com/cargo-bins/cargo-binstall).\n- Includes [cargo-release](https://github.com/crate-ci/cargo-release) workflow.\n\n## Checklist\n\nWhen you use this template, try to follow the checklist to update your info properly\n\n- [ ] Change the author name in `LICENSE`\n- [ ] Change the package info in `Cargo.toml`\n- [ ] Change the application name:\n  - [ ] Database name and other values in `.env`, `.example.env`, and other container related files.\n  - [ ] The OpenAPI info in `routes.rs`\n  - [ ] App name in `release.yml`\n  - [ ] Project URL in `cliff.toml`\n  - [ ] App name in the import statements across Rust source and tests files.\n- [ ] Clean up the READMEs and remove routes\n\nAnd, enjoy :)\n\n## Usage\n\n```shell\n$ # Clone the repository\n\n$ # Run the database\n$ podman-compose -f compose.local.yml up db -d\n\n$ touch $SCHEMA_LOCATION # See .example.env\n$ just dev  # See also `just setup`\n```\n\nGo to the playground `http://127.0.0.1:8000/playground` to see the schema.\n\n## Navigating the Code\n\nAll the features can be found in the [CHANGELOG](CHANGELOG.md) file tagged with `feat`.\nThe file only contains user-facing changes, so you won't get lost navigating the code.\n\n## Credits\n\n- Clean and Scalable Architecture for Web Applications in Rust by Sylvain Kerkour. [Article](https://kerkour.com/rust-web-application-clean-architecture), [Code](https://github.com/skerkour/bloom-legacy/tree/v2-e2ee).\n- Icons and emoji from [Noto Emoji](https://github.com/googlefonts/noto-emoji)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazzamsa%2Ftin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazzamsa%2Ftin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazzamsa%2Ftin/lists"}