aae76e83c46f68e338a82572fced0da718430a1a
chessu
❗ This project is currently undergoing a major refactor in the
devbranch. (see #4)
Online 2-player chess. Live demo at ches.su
- React 18
- CSS Modules
- react-chessboard
- chess.js
- Express.js
- socket.io
- PostgreSQL
Development
This repository is used for production deployments. You will need to make changes to the configuration to get this running locally.
npm install # install all dependencies
npm run dev # concurrently run frontend and backend dev servers
npm run react-dev # run frontend server only
Environment variables
Client: APIURL (or just change apiUrl in /client/src/config/config.ts)
Server: PORT, SESSION_SECRET, PGUSER, PGPASSWORD, PGHOST, PGDATABASE, PGPORT
(also see server cors config and session middleware for local development)
Languages
TypeScript
98.4%
JavaScript
0.9%
Dockerfile
0.4%
Shell
0.2%