Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/benoitzugmeyer/test-graphene

Testing graphene + flask + relay with a small project
https://github.com/benoitzugmeyer/test-graphene

Last synced: about 2 months ago
JSON representation

Testing graphene + flask + relay with a small project

Awesome Lists containing this project

README

        

test-graphene
=============

A small app to test Graphene_ integration with Flask_ and Relay_.

Building
--------

.. code:: bash

# Get the source
git clone https://github.com/BenoitZugmeyer/test-graphene
cd test-graphene

# Create a virtual env
virtualenv3 venv # Must be python 3!
. venv/bin/activate

# Install Python dependencies
python setup.py install

# Install JavaScript dependencies and build the files
cd ui
npm install
npm run build # You can use `npm run watch` to watch for changes
cd ..

# Launch it
python test_graphene

.. _Graphene: http://graphene-python.org/
.. _Flask: http://flask.pocoo.org/
.. _Relay: https://facebook.github.io/relay/