Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 884 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 884 Bytes

React + Apollo + GraphQL Demo

This repository contains code that was shown at the TalkJS Singapore June Meetup.

The slides can be found here.

This repo contains a simple Django project with one app called simple_app and one model (called Message). After you cloned this repo, please create a virtualenv in Python and install Django:

cd ~/Projects/
git clone https://github.com/mbrochh/react-apollo-graphql-demo.git
cd react-apollo-graphql-demo/backend
mkvirtualenv react-apollo-graphql-demo
pip install -r requirements.txt
./manage.py runserver 0.0.0.0:8000

Once you have the local devserver running, you should be able to login at /admin/ with user admin and password start1234 and you should be able to access /graphql/.