This is a frontend for my multiplayer-hangman-api project, made with svelte and routify.
If you want to set up this frontend yourself follow these steps:
Requierments:
- nodeJs with NPM
- Clone this repo
git clone https://github.com/LarvenStein/https://github.com/LarvenStein/multiplayer-hangman-frontend.git cd multiplayer-hangman-frontend/
- Install dependencies
npm install
- Edit
src/config.ts
according to your needs.- You probatly want to change the
apiUrl
to a real instance of the multiplayer-hangman-api
- You probatly want to change the
- Now you can run or build the project
- To run it, simply execute
npm run dev
- To build it, execute
npm run build
- The generated HTML files should be in the
/dist
folder
- The generated HTML files should be in the
- To run it, simply execute
For instructions on how to set up the api server, go to the multiplayer-hangman-api repository.