https://github.com/swordedge/hangman_game
https://github.com/swordedge/hangman_game
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/swordedge/hangman_game
- Owner: swordEdge
- Created: 2023-11-07T17:50:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T17:54:48.000Z (over 2 years ago)
- Last Synced: 2025-03-06T06:31:31.305Z (about 1 year ago)
- Language: TypeScript
- Size: 226 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HangMan Game Test Assessment
This is a simple hangman game assessment.
## Run the project
> Note: In order to start the project, please check the `.env` file in root directory.
>
>Inside the `.env` file (if there is no such file, please create new one) add following environment variables.
>
>REACT_APP_QUOTE_SERVER_URL=http://api.quotable.io/random
>
>REACT_APP_SCORE_SERVER_URL=https://my-json-server.typicode.com/stanko-ingemark/hang_the_wise_man_frontend_task/highscores
>
>
To run the project, the following commands need to be run via terminal, these assume you are already in the project folder.
```bash
# Install project node_modules
$ npm install
# Start dev server - this will watch for changes and restart
$ npm run dev
# Run unit testing
$ npm run test
```