{"id":18899293,"url":"https://github.com/sachnaror/graphql_fastapi","last_synced_at":"2026-04-20T10:33:21.140Z","repository":{"id":229378338,"uuid":"776267515","full_name":"sachnaror/GraphQL_FastAPI","owner":"sachnaror","description":"GraphQL server using FastAPI and interact with it using GraphQL queries","archived":false,"fork":false,"pushed_at":"2024-03-24T01:40:14.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T23:17:48.727Z","etag":null,"topics":["fastapi","graphql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sachnaror.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-23T03:19:35.000Z","updated_at":"2024-03-24T01:40:42.000Z","dependencies_parsed_at":"2024-03-23T23:24:40.111Z","dependency_job_id":"9e190cff-7414-4d01-b9c1-ed9792a3082e","html_url":"https://github.com/sachnaror/GraphQL_FastAPI","commit_stats":null,"previous_names":["sachnaror/graphql_fastapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sachnaror/GraphQL_FastAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachnaror%2FGraphQL_FastAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachnaror%2FGraphQL_FastAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachnaror%2FGraphQL_FastAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachnaror%2FGraphQL_FastAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachnaror","download_url":"https://codeload.github.com/sachnaror/GraphQL_FastAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachnaror%2FGraphQL_FastAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32043071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["fastapi","graphql"],"created_at":"2024-11-08T08:46:08.694Z","updated_at":"2026-04-20T10:33:21.117Z","avatar_url":"https://github.com/sachnaror.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GraphQL FastAPI Example\n\nThis repository contains a simple example of integrating GraphQL with FastAPI, a modern, fast (high-performance) web framework for building APIs with Python. The project demonstrates how to set up a GraphQL server using FastAPI and interact with it using GraphQL queries.\n\n**Features**\n\n* **FastAPI:** Utilizes FastAPI for building robust and high-performance APIs.\n* **GraphQL Integration:** Demonstrates how to integrate GraphQL with FastAPI.\n* **Sample Schema:** Provides a sample GraphQL schema with example queries and mutations.\n* **Interactive API Documentation:** Utilizes Swagger UI and Redoc to generate interactive API documentation.\n\n**Requirements**\n\n* Python 3.7+\n* pip\n\n**Installation**\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/sachnaror/GraphQL_FastAPI.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd GraphQL_FastAPI\n   ```\n\n3. Install the required dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n**Usage**\n\n1. Run the FastAPI server:\n\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n2. Access the GraphQL playground in your browser:\n\n   ```bash\n   http://localhost:8000/graphql\n   ```\n\nUse the GraphQL playground to interact with the API by executing queries and mutations.\n\n**API Documentation**\n\n* **Swagger UI:** Access the Swagger UI for interactive API documentation:\n\n   ```bash\n   http://localhost:8000/docs\n   ```\n\n* **Redoc:** Alternatively, access API documentation using Redoc:\n\n   ```bash\n   http://localhost:8000/redoc\n   ```\n\n**Contributing**\n\nContributions are welcome! Feel free to open issues or submit pull requests to improve this project.\n\n**License**\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachnaror%2Fgraphql_fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachnaror%2Fgraphql_fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachnaror%2Fgraphql_fastapi/lists"}