https://github.com/lagenorhynque/fastapi-graphql-example
An example GraphQL API based on FastAPI & Graphene
https://github.com/lagenorhynque/fastapi-graphql-example
fastapi graphene graphql python
Last synced: about 2 months ago
JSON representation
An example GraphQL API based on FastAPI & Graphene
- Host: GitHub
- URL: https://github.com/lagenorhynque/fastapi-graphql-example
- Owner: lagenorhynque
- Created: 2019-09-18T12:01:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T20:05:43.000Z (over 4 years ago)
- Last Synced: 2025-10-25T12:02:49.804Z (8 months ago)
- Topics: fastapi, graphene, graphql, python
- Language: Python
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastapi-graphql-example
An example GraphQL API based on FastAPI & Graphene.
## Prerequisites
- [pyenv](https://github.com/pyenv/pyenv)
- [Pipenv](https://github.com/pypa/pipenv)
## Usage
```sh
$ pipenv install
$ pipenv run uvicorn main:app --reload
```
or
```sh
$ pipenv shell
(fastapi-graphql-example)$ uvicorn main:app --reload
```
and then
```sh
$ open http://localhost:8000
```