mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
Improve index
This commit is contained in:
parent
179a611974
commit
315df258ef
|
@ -8,13 +8,20 @@ We will assume that you already have Graphene installed.
|
||||||
The tutorial will be based on Graphene 2.0 and Python 3.6.
|
The tutorial will be based on Graphene 2.0 and Python 3.6.
|
||||||
|
|
||||||
TODO: link to installation documentation.
|
TODO: link to installation documentation.
|
||||||
TODO: explain what we are going to do.
|
|
||||||
|
In this tutorial we are going to build a super simple polls application,
|
||||||
|
the user will be able to query all the questions and the will be able to
|
||||||
|
answer each question by id.
|
||||||
|
|
||||||
|
We won't be using a database for now, since we'd like to keep this
|
||||||
|
tutorial simple and not force you to use a specific framework.
|
||||||
|
|
||||||
Creating your project
|
Creating your project
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
TODO: explain what the usual structure for a Graphene schema looks
|
Each graphene project is composed of a single Schema (
|
||||||
like.
|
TODO: link to what a schema is in the GraphQL documentation
|
||||||
|
), the suggested convention is to create a main ``schema.py`` file which
|
||||||
|
will contain your schema and ``schema.py`` files for each of your module.
|
||||||
|
|
||||||
TODO: link to first step of the tutorial, which will be the creation of
|
Let's starts by creating your first GraphQL schema, go to :ref:`tutorial-part-1`.
|
||||||
the first schema.
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
.. _tutorial-part-1:
|
||||||
|
|
||||||
Create your first schema
|
Create your first schema
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user