Players are able to vote for a move. You can log in via OAuth for Github, Discord and Lichess. Every 5 minutes the most voted move is played on the board. If there are no votes, the timer resets and starts again.
Warning
Site is currently not publicly available due dependency vulnerabilities I'm too lazy to fix
These environment variables are required to implement OAuth Login:
GITHUB_CLIENT_ID=<github oauth>
GITHUB_CLIENT_SECRET=<github oauth>
DISCORD_CLIENT_ID=<discord oauth>
DISCORD_CLIENT_SECRET=<discord oauth>
LICHESS_CLIENT_ID=<lichess oauth>
LICHESS_CLIENT_SECRET=<lichess oauth>
JWT_TOKEN_EXPIRATION=1d
JWT_SECRET=<random string>
DB_REDIS_HOST=<redis host>
DB_REDIS_PORT=<redis port>
BASE_URL=http://localhost:3000Look at the nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoistStart the development server on http://localhost:3000
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheckout the deployment documentation for more information.
