https://github.com/benny-n/hangoff
The classic `hangman` game as a web application.
https://github.com/benny-n/hangoff
hangman hangman-game react vercel webapp
Last synced: 5 months ago
JSON representation
The classic `hangman` game as a web application.
- Host: GitHub
- URL: https://github.com/benny-n/hangoff
- Owner: benny-n
- License: mit
- Created: 2022-04-15T11:12:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T22:49:53.000Z (about 4 years ago)
- Last Synced: 2025-12-07T16:26:46.079Z (7 months ago)
- Topics: hangman, hangman-game, react, vercel, webapp
- Language: TypeScript
- Homepage: https://hangoff.vercel.app
- Size: 19.5 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hangoff
Your good old hangman game, with a new word each day, in the browser!
Multiplayer mode - coming soon
[](https://github.com/benny-n/hangoff/actions/workflows/ci.yml)

[](https://hangoff.vercel.app)
# Development In Docker
```bash
$ docker build -t hangoff:app-dev -f hangoff-app/dev.Dockerfile ./hangoff-app
```
Build the server image using the following command
```bash
$ docker build -t hangoff:server-dev -f hangoff-server/dev.Dockerfile ./hangoff-server
```
Run development containers using the command shown below.
*Note that development environment requires local dependencies has to be installed*
```bash
$ docker-compose -f dev.docker-compose.yml up -d
```
# Production In Docker
Build the app image using the following command
```bash
$ docker build -t hangoff:app -f hangoff-app/Dockerfile ./hangoff-app
```
Build the server image using the following command
```bash
$ docker build -t hangoff:server -f hangoff-serverDockerfile ./hangoff-server
```
Run production containers using the command shown below.
```bash
$ docker-compose up -d
```
## Environment Variables
| Variable | Default Value |
| ------ | ------ |
| SERVER_PORT | 5545 |
| VOCABULARY_URI | |
**Please Make Sure to run DB container as well and also the netwrok is the same docker network**