Skip to content

BoxingOctopusCreative/chains-invent-insanity

Repository files navigation

Chains Invent Insanity

Chains Invent Insanity

A Markov Chain-based Cards Against Humanity card generator.


Requirements

API

Frontend

Setup

API

  1. Install Pipenv Environment and all dependencies

pipenv install

  1. Start the API server

pipenv run start

Frontend

  1. Install Dependencies

npm install

  1. 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/.