Web client for monsters
- TypeScript 78.9%
- JavaScript 13.7%
- HTML 6.8%
- Dockerfile 0.3%
- Makefile 0.3%
| .gitea | ||
| k8s | ||
| src | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierrc | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| index.html | ||
| LICENSE | ||
| makefile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
React client for monsters game
This is a admin tool for managing the game and testing it. This is not a full fat client
In order to run it, you need to :
- Install dependencies
npm install / yarn
And fill .env file with data:
VITE_API_BACKEND=http://localhost:5003
VITE_WS_BACKEND=ws://localhost:5004
VITE_API_BACKEND_LOGIN_CLIENT=login
VITE_API_BACKEND_REGISTER_CLIENT=register
VITE_API_BACKEND_LOGOUT_CLIENT=logout
VITE_API_HOME=http://localhost:3003
VITE_API_BACKEND=Backend address
VITE_WS_BACKEND=Backend websocket address with ws prefix
VITE_API_BACKEND_LOGIN_CLIENT=Client, which should be used to log in
VITE_API_BACKEND_REGISTER_CLIENT=Client, which should be used to register
VITE_API_BACKEND_LOGOUT_CLIENT=Client, which should be used to logout
VITE_API_HOME=Address of this application