A full stack chess application for game enthusiasts who want to play a game of chess with friends.
- React.js
- Webpack
- Bootstrap 5
- Node.js
- Socket.IO
- Express
- Argon2
- JSON Web Tokens
- HTML5
- CSS3
- Heroku
Try the application at https://chess-alliance.herokuapp.com/
- User can start a multiplayer chess game.
- User can view games menu list they wish to join.
- User can join a game.
- User can take their turn.
- User can win.
- User can forfeit.
- User can sign up.
- User can log in.
- User can play in local mode.
- Node.js 10 or higher
- NPM 6 or higher
- PostgreSQL
-
Clone the repository.
git clone https://github.com/meganbmartinez/ChessAlliance.git cd ChessAlliance
-
Install all dependencies with NPM.
npm install
-
Create a new
.env
file for the application.cp .env.example .env
-
Change the
TOKEN_SECRET
andDATABASE_URL
to secure, appropriate values in the.env
file. -
Check to see if postgresql is running.
sudo service postgresql status
-
If postgresql is not running, run its start command.
sudo service postgresql start
-
Initialize the database.
createdb chessAlliance
-
Import the schema and initial data.
npm run db:import
-
Start the project. Once started, you can view the application by opening http://localhost:3000 in your browser.
npm run dev
- User can propose a rematch.
- User can view match history.