A refactor of my previous Connect Four Super project
- Leverages TanStack to manage all client -> server communications
- React Front-End
- TanStack
- Node.js / Express.js Back-End
- TypeScript (server)
- PostgreSQL Database
- Jest
- Server unit test coverage 80%
- Client unit test coverage 40%
- Factory Functions to support testing
- Singleton usage for server interactions
- use
npm installin /client to install client dependencies - use
npm installin /server to install server dependencies - install postgresql (V14.8 or later) and start it
- setup databases using:
psql -f /server/connect-four-init.sqland accept prompts
- run the server in dev mode, use
/server/npm run dev - run the server in retail, use
/server/npm run live - server runs at
http://localhost:3001/
- to run client tests, use
/client/jest - to run server tests, use
/server/jest
- run the server in dev mode, use
/client/npm run start - use
npm run buildto create a build folder for deployment
- add identity and auth
- add online multiplayer
- add high scores / statistics
- add instrumentation / telemetry
- advanced ai algorithms