{"id":20228546,"url":"https://github.com/aryaniyaps/python-graphql-relay-todos","last_synced_at":"2025-09-22T04:32:15.093Z","repository":{"id":246629019,"uuid":"817759987","full_name":"aryaniyaps/python-graphql-relay-todos","owner":"aryaniyaps","description":"Fully fledged todo application using Strawberry GraphQL, FastAPI, Relay and React","archived":false,"fork":false,"pushed_at":"2024-09-24T02:03:35.000Z","size":4022,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-14T07:37:41.299Z","etag":null,"topics":["fastapi","graphql","graphql-relay","postgresql","python","react","relay","relay-modern","sqlalchemy","strawberry-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/aryaniyaps.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-06-20T11:37:41.000Z","updated_at":"2024-11-01T17:05:45.000Z","dependencies_parsed_at":"2024-06-29T08:26:24.427Z","dependency_job_id":"a71ac869-f42c-4a64-89ac-7dac30458699","html_url":"https://github.com/aryaniyaps/python-graphql-relay-todos","commit_stats":null,"previous_names":["aryaniyaps/python-graphql-relay-todos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaniyaps%2Fpython-graphql-relay-todos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaniyaps%2Fpython-graphql-relay-todos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaniyaps%2Fpython-graphql-relay-todos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaniyaps%2Fpython-graphql-relay-todos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aryaniyaps","download_url":"https://codeload.github.com/aryaniyaps/python-graphql-relay-todos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233824408,"owners_count":18736001,"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":["fastapi","graphql","graphql-relay","postgresql","python","react","relay","relay-modern","sqlalchemy","strawberry-graphql"],"created_at":"2024-11-14T07:31:16.219Z","updated_at":"2025-09-22T04:32:09.632Z","avatar_url":"https://github.com/aryaniyaps.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003ePython GraphQL Relay Todos\u003c/h1\u003e\n\u003cp\u003e\u003ci\u003eFully fledged todo application using Strawberry GraphQL, FastAPI, Relay and React\u003c/i\u003e\u003c/p\u003e\n\n[![codecov](https://codecov.io/gh/aryaniyaps/python-graphql-relay-todos/graph/badge.svg?token=QDIFFSG8MS)](https://codecov.io/gh/aryaniyaps/python-graphql-relay-todos)\n\n\u003cbr /\u003e\n\u003cimg src=\"https://skillicons.dev/icons?i=py,graphql,fastapi,postgres,ts,react,vite,tailwind,nodejs,docker,git,githubactions\u0026perline=6\" alt=\"Tech Stack\" /\u003e\n\n\n\nhttps://github.com/aryaniyaps/python-graphql-relay-todos/assets/69184573/b6c7e0e9-14c7-4af4-9cf8-67dc28429a75\n\n## Tech Stack:\n\u003ci\u003eBackend stack\u003c/i\u003e\n- [Python](https://www.python.org/)\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [Uvicorn](https://www.uvicorn.org/)\n- [Strawberry GraphQL](https://strawberry.rocks/)\n- [SQLAlchemy](https://www.sqlalchemy.org/)\n- [Asyncpg](https://magicstack.github.io/asyncpg/current/)\n- [Alembic](https://alembic.sqlalchemy.org/en/latest/)\n- [Result](https://github.com/rustedpy/result)\n- [AioInject](https://thirvondukr.github.io/aioinject/)\n- [Structlog](https://www.structlog.org/en/stable/)\n- [Pytest](https://docs.pytest.org/en/latest/)\n\n\u003ci\u003eFrontend stack\u003c/i\u003e\n- [TypeScript](https://www.typescriptlang.org/)\n- [React](https://react.dev/)\n- [Vite](https://vitejs.dev/)\n- [TailwindCSS](https://tailwindcss.com/)\n- [Shadcn UI](https://ui.shadcn.com/)\n- [Relay](https://relay.dev/)\n- [React Router DOM](https://reactrouter.com/en/main)\n- [React Hook Form](https://react-hook-form.com/)\n- [Zod](https://zod.dev/)\n\n\n## Features:\n- Dependency Injection in resolvers\n- Usage of dataloaders to resolve nodes\n- Relay spec compliant GraphQL server\n- Connection handling, including inserts, updates and deletions\n- Usage of Relay Client and fragments\n- Cursor paginated connections\n- End to end GraphQL code generation\n- Fully tested GraphQL server\n- User facing errors modelled within the schema\n\n## Starting the project\n\n1. setup docker compose\n```\ndocker compose up\n```\n2. install server dependencies\n```\ncd server\npdm install\n```\n\n3. setup database migrations\n```\npdm run migrate\n```\n\n4. start the server\n```\npdm run dev\n```\n\n5. install client dependencies\n```\ncd client\nnpm install\n```\n6. start the client\n```\nnpm run dev\n```\n\n\n## Generating the GraphQL schema\n\n```\ncd server\npdm run generate-schema\n```\n\n\n## Running the Relay Compiler\n```\ncd client\nnpm run relay --watch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryaniyaps%2Fpython-graphql-relay-todos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faryaniyaps%2Fpython-graphql-relay-todos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryaniyaps%2Fpython-graphql-relay-todos/lists"}