A cheesy word game built to demonstrate Django REST Framework and Redux code generation
- Python 3.10
- Pipenv
- Node.js 18.8.0
- npm 8.19.1
git clone https://github.com/midouest/curdle.git
cd curdle
pipenv install --dev
pipenv shell
python manage.py migrate
python manage.py createsuperuser
python manage.py load_words data/answers.txt data/guesses.txt
cd web
npm install
python manage.py runserver 8000
Open http://localhost:8000/docs/ to view the OpenAPI schema
cd web
npm start
Open http://localhost:3000 to view the app
To regenerate the OpenAPI schema and Redux API slice, run the codegen script in the root of the repository:
./scripts/codegen.sh
To clear all game data and reload the word database, run the reset script in the root of the repository:
./scripts/reset.sh