Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madeindjs/killer-game
generate Killer game for a party
https://github.com/madeindjs/killer-game
Last synced: 20 days ago
JSON representation
generate Killer game for a party
- Host: GitHub
- URL: https://github.com/madeindjs/killer-game
- Owner: madeindjs
- License: gpl-3.0
- Created: 2022-08-11T13:02:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T11:33:21.000Z (3 months ago)
- Last Synced: 2024-08-02T13:00:10.805Z (3 months ago)
- Language: JavaScript
- Homepage: https://the-killer.online/
- Size: 3.26 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Killer game generator
This application generate Killer game for a party.
![Example of a killer card](./screenshot.png)
## Setup
```sh
npm i
npm run dev
```you might run database migrations
```sh
cd api
npx knex migrate:up
```### Docker
```sh
docker build . -f frontend.Dockerfile -t killer-frontenddocker build . -f api.Dockerfile -t killer-api
docker run -p 3001:3001 killer-api
```> see [build.sh](./build.sh) to build images
To run the project
```sh
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
```### Docker Swarm
Deploy it quickly using
```sh
docker stack deploy -c docker-compose.yml killer-game
```> Check [the Github workflow](./.github/workflows/api.yml) to see how Docker Swarm is used for the deployment of [the-killer.online]