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:3000
Look at the nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.