This application generate Killer game for a party.
## Setup
npm i
npm run dev
you might run database migrations
cd api
npx knex migrate:up
docker build . -f frontend.Dockerfile -t killer-frontend
docker build . -f api.Dockerfile -t killer-api
docker run -p 3001:3001 killer-api
see build.sh to build images
To run the project
docker run -p 3000:3000 -d arousseau/killer-game-frontend
# using a volume for the sqlite database
docker run -p 3001:3001 -v "$PWD/db:/app/api/db" arousseau/killer-game-api
Deploy it quickly using
docker stack deploy -c docker-compose.yml killer-game
Check the Github workflow to see how Docker Swarm is used for the deployment of [the-killer.online]