An open API service indexing awesome lists of open source software.

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

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
```