This project is a web-based chess game built with a React frontend and a Node.js backend. The frontend uses Vite for development and build processes, and Tailwind CSS for styling. The backend uses WebSocket for real-time communication between players.
- Node.js
- npm or yarn
- Clone the repository:
git clone <repository-url>- Install dependencies for both frontend and backend:
cd frontend
npm install
cd ../backend1
npm install- Start the backend server:
cd backend1
npm start- Start the frontend development server:
cd frontend
npm run devTo build the frontend for production, run:
cd frontend
npm run build- Framework: React
- Build Tool: Vite
- Styling: Tailwind CSS
- Linting: ESLint
- Framework: Node.js
- WebSocket: ws
- frontend/tailwind.config.js: Tailwind CSS configuration
- frontend/tsconfig.node.json: TypeScript configuration for Node.js
- frontend/vite.config.ts: Vite configuration
- frontend/tsconfig.app.json: TypeScript configuration for the application
- frontend/eslint.config.js: ESLint configuration
- backend1/tsconfig.json: TypeScript configuration for the backend
This project is licensed under the MIT License.