{"id":16544544,"url":"https://github.com/msoedov/flask-graphql-example","last_synced_at":"2025-09-06T11:33:01.167Z","repository":{"id":37979068,"uuid":"46998617","full_name":"msoedov/flask-graphql-example","owner":"msoedov","description":"Example GraphQL application with Flask, pypy/python3 and MongoDB","archived":false,"fork":false,"pushed_at":"2017-02-09T03:49:10.000Z","size":351,"stargazers_count":55,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T23:25:05.319Z","etag":null,"topics":["flask","graphql","mongodb","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/msoedov.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-27T20:43:21.000Z","updated_at":"2022-08-08T20:52:02.000Z","dependencies_parsed_at":"2022-08-08T22:45:25.836Z","dependency_job_id":null,"html_url":"https://github.com/msoedov/flask-graphql-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoedov%2Fflask-graphql-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoedov%2Fflask-graphql-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoedov%2Fflask-graphql-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoedov%2Fflask-graphql-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msoedov","download_url":"https://codeload.github.com/msoedov/flask-graphql-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232119368,"owners_count":18475254,"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":["flask","graphql","mongodb","python"],"created_at":"2024-10-11T19:03:10.740Z","updated_at":"2025-01-01T19:31:34.529Z","avatar_url":"https://github.com/msoedov.png","language":"Python","readme":"Example of small GraphQL app with Flask + Python3/PyPy3 + MongoDb\n\n[![Build Status](https://travis-ci.org/msoedov/flask-graphql-example.svg?branch=master)](https://travis-ci.org/msoedov/flask-graphql-example)\n[![Code Issues](https://www.quantifiedcode.com/api/v1/project/44eede68b96745bdafee5a8a208ea3c3/badge.svg)](https://www.quantifiedcode.com/app/project/44eede68b96745bdafee5a8a208ea3c3)\n\n### Quick start with docker\n\n\n```shell\ndocker-compose build\ndocker-compose up\n```\n\nOptionally populate database\n\n```shell\ndocker-compose run web pypy3 manage.py init\n```\n\nAnd then open http://localhost:5000/ui\n\n\n![Demo screen](https://sc-cdn.scaleengine.net/i/1abd73bf614838ef8cae5a35093ca3cd1.png)\n\n\n### Development workflow\n\nCreate a virtual environment with Python3 or PyPy3\n\nMake sure you have running MongoDb instance either on localhost or\n```shell\nexport DB_PORT_27017_TCP_ADDR='ip address'\n\n```\n\nLikewise you can use containerized  Mongo but you will need to setup env variables as well\n\n```shell\ndocker-compose build\ndocker-compose up db\n```\n\n\nThen you can install deps and run the python app\n```\nmake req\npython api.py\n```\n\n#### Miscellaneous\n\nAuto format your code\n```shell\n\nmake format\n```\n\nNosetests with reload\n```shell\nmake watch\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoedov%2Fflask-graphql-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsoedov%2Fflask-graphql-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoedov%2Fflask-graphql-example/lists"}