Skip to content

mickeyinfoshan/graphene_todo

Repository files navigation

RRGD TodoMVC

TodoMVC with React, Relay, Graphene and Django

Note

You may need to change the permission of the scripts to run them.

chmod +x ./*.sh

Installation

./preinstall.sh

or

pip install -r 'requirements.txt'
cd relayTodo && npm install

Database migration

python manage.py makemigrations
python manage.py makemigrations todos
python manage.py migrate

Running

Start a local server:

./start.sh

or

python manage runserver
cd relayTodo && npm start

Now you can open your browser and visit localhost:3000.

Developing

If at any time you make changes to the schema, stop the server, regenerate relayTodo/data/schema.json, and restart the server:

./updateSchema.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published