A simple chess application build using chess.js API for validation logic and reactjs for frontend components.
chess.demo.mp4
Start the game on two different tabs and start playing.
Same steps as localhost. If a player is already waiting before you start the game, game will start without having to open another tab.
- clone the repository
git clone https://github.com/abhinav700/chessapp.git
- cd ./chessapp
- run
docker-compose up
in/backend
to directory to start the server atlocalhost:8080
- run
docker-compose up
in/client
directory to start the frontend atlocalhost:3000
(NOTE: Use docker compose
instead of docker-compose
if you are using docker compose V2)
Source code changes are automatically reflected in the running Docker containers without requiring a restart. This means any modifications made to the project's source code will be immediately visible within the application running inside the container.
- clone the repository
git clone https://github.com/abhinav700/chessapp.git
- cd ./chessapp
- run
npm install
command in/client
and/backend
directories to install the dependencies - run
npm run dev
in/backend
to directory to start the nodemon server atlocalhost:8080
- run
npm run start
inclient
directory to start the frontend atlocalhost:3000
You can find the deployed application here.