17ce3cf4c40b65f43d6913099ea785c876ffebfb
chessu
Online 2-player chess. Live demo at ches.su
- React 18
- CSS Modules
- react-chessboard
- chess.js
- Express.js
- socket.io
- PostgreSQL
Development
Root directory
npm install # install all dependencies
npm run dev # concurrently run frontend and backend test servers
npm run build # build frontend and backend for production (see dist/ folders)
npm run react-dev # run frontend server only
Environment variables
Client: APIURL
Server: SESSION_SECRET, PGUSER, PGPASSWORD, PGHOST, PGDATABASE, PGPORT
To-do (move this to issues):
- [] real-time games with chat & observer support
- [] user authentication with oauth2 support (optional)
- [] RESTful API for non-real-time games like daily chess
Languages
TypeScript
98.4%
JavaScript
0.9%
Dockerfile
0.4%
Shell
0.2%