Multiplayer game based on rhyming, collaborative poetry (versification)
Check it out here rhymes-sometimes.ru
Work in progress...
- Server part is a module that runs inside heroiclabs/nakama.
- Client part is a React app.
- TypeScript is used for both client and server parts.
- Tested on NodeJs v14.
To install dependencies and build server code:
cd client && yarn install && cd ../server && yarn install && yarn build
Then you can run all in one docker compose command from the project root:
docker-compose up
Alternatively you can run server part separately from client part.
To run server locally:
cd server && docker-compose up
To run client locally:
cd client && yarn install && yarn start
For pre-commit git-hook to work you have to run this command from project directory git config core.hooksPath .githooks
.
Install extensions dbaeumer.vscode-eslint
and esbenp.prettier-vscode
.
For prettier to work you have to have in .vscode/settings.json
:
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.requireConfig": true
}