Rjango Save Abandoned

Django boilerplate with GraphQL, serving a Webpack compiled React Relay Modern frontend.

Project README

reango

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.

Features

  • 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

Quick start:

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

Getting started

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

Staging Data

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

Prod

See readme in ./lib/deployment

Front-End originally based on the awesome Relay Fullstack

https://github.com/lvarayut/relay-fullstack

Open Source Agenda is not affiliated with "Rjango" Project. README Source: ncrmro/rjango
Stars
73
Open Issues
11
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating