React Chess is "just a chessboard" as lightweight as it can possibly be. It is connected to this chess server as well as to this chess api.
Check out this demo.
Make sure that both the chess server and the API are set up properly as per the src/App.js
file.
import Chess from 'features/Chess';
const App = () => {
return (
<Chess
props={{
api: {
prot: 'https',
host: 'pchess.net',
port: '443'
},
server: {
prot: 'wss',
host: 'pchess.net',
port: '8443'
}
}}
/>
);
}
export default App;
Create an .env
file.
$ cp .env.example .env
Install the npm packages.
$ npm install
Start the app.
$ npm start
Build the app for production.
$ npm run build
The MIT License.
See the contributing guidelines.
Happy learning and coding!