The Django + GraphQL Relay Modern backend.
Check out the react-native branch as well which can also compile to the web!
Looking to help with development and more up to date issue check the Gitlab hosted version of Reango.
- Relay Support
- User Registration/Sign up using JWT
- Postgres as a first class database, making use of Trigram Full Text Search Extension
- Heroku or Docker Deployment
You will need python 3, postgres and node installed. You will also need to have a virtualenv activated before running npm install/yarn or the post install build step will fail as django needs to be available to dump the graphql_schema
source ~/.virtualenvs/reango/bin/activate
cp .env.sample .env
pip3 install -r ./lib/deps/dev.txt
yarn
Define a django model, register the node and query with in the ./server/reango/schema.py
To work with the client side, add a route in the ./client/routes
Reusable components go in ./client/components, If you'd like you can split of django apps into there own folders in the ./client/modules like the django apps concept
Factories should be used to generate the staging data during tests as well and in the development environment.
A single django managment command should be available to get everything staged initial.
This command should be composed of smaller commands defined in each django app's management folder. This way you can delete a single users object and regenerate or generate multiple for each users.
python3 manage.py stagedata
See readme in ./lib/deployment