https://github.com/boxingoctopuscreative/chains-invent-insanity
Chains Invent Insanity is a Flask-based web app which uses Markov chains to generate answer cards for the game Cards Against Humanity
https://github.com/boxingoctopuscreative/chains-invent-insanity
bootstrap cards-against-humanity docker docker-compose flask markov-chain python react reactjs
Last synced: about 2 months ago
JSON representation
Chains Invent Insanity is a Flask-based web app which uses Markov chains to generate answer cards for the game Cards Against Humanity
- Host: GitHub
- URL: https://github.com/boxingoctopuscreative/chains-invent-insanity
- Owner: BoxingOctopusCreative
- License: mpl-2.0
- Created: 2016-02-10T00:47:49.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-26T07:11:58.000Z (about 1 year ago)
- Last Synced: 2025-07-31T14:42:44.800Z (10 months ago)
- Topics: bootstrap, cards-against-humanity, docker, docker-compose, flask, markov-chain, python, react, reactjs
- Language: CSS
- Homepage: https://chainsinventinsanity.com
- Size: 853 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chains Invent Insanity

*A Markov Chain-based [Cards Against Humanity](https://cardsagainsthumanity.com) card generator.*
- - -
## Requirements
### API
* Pipenv: [pipenv](https://pipenv.pypa.io/)
* Python 3.9+
### Frontend
* Node.js: [Node.js](https://nodejs.org/)
* React: [React](https://reactjs.org/)
## Setup
### API
1. Install Pipenv Environment and all dependencies
`pipenv install`
2. Start the API server
`pipenv run start`
### Frontend
1. Install Dependencies
`npm install`
2. Start the frontend server
`npm run start`
## Usage
### API
The API is accessible at `http://localhost:8000/api/v1/`, however there are also Swagger docs available at `http://localhost:8000/apidocs/`.
To modify any API configuration, edit the `gunicorn.conf.py` file.
### Frontend
Once the Frontend service is up and running, it can be accessed at `http://localhost:3000/`.