Skip to content

Latest commit

 

History

History
88 lines (59 loc) · 2.51 KB

README.md

File metadata and controls

88 lines (59 loc) · 2.51 KB

About Zeton

Żeton is a token-based reward system app for neurodivergent children and their families.

Żeton builds accountability and promotes good habits in home and school environments. It provides positive reinforcement and helps behaviour modification.

As parents, teachers and therapists, we know the daily struggles of children on the autistic spectrum, with learning disabilities or neurodevelopmental disorders. We believe that token economy and behavioural therapy elements should be accessible to everyone, so your kid can thrive at home as well as at school. Our goal is to help children become more and more independent over time, to the point of not needing the app 😊

Open in Gitpod

zeton_full_stack

Hello,

This is an experimental repository combining both our django API and React.js client.
It utilizes the Git submodules concept, which you can familiarize yourself with here and here.

I suggest not using it as a development repository as it needs some more testing yet.

You need configured connection to GitHub using SSH. You can do it with this tutorial.

SETUP

  1. To clone parent repository along with submodules use following command in the terminal:
git clone --recurse-submodules $repository_url

(as a $repository_url use this repository url).

  1. The rest of this guide requires you to run commands in the project directory. Run the following command before moving on.
cd zeton_full_stack
  1. Next, You need to set branch develop in submodules zeton_react and zeton_django.
cd zeton_django
git checkout develop
cd ../zeton_react
git checkout develop
cd ..
  1. To start the project make sure you are in the zeton_full_stack directory and run command:
docker compose up --build

or use the command from Makefile

make build
  1. You can access the React client at
localhost:3000
  1. The Dashboard view is empty now, as no data hasn't been fetched from the API yet.
    You can load the data from Django fixutres using:
make load_data
  1. Now the Dashboard view should present 2 examplary users.

  2. To update submodules to latest version use command:

git pull --recurse-submodules