Skip to content

manraj777/Chess.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game

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.

Project Structure

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository:
git clone <repository-url>
  1. Install dependencies for both frontend and backend:
cd frontend
npm install
cd ../backend1
npm install

Running the Project

  1. Start the backend server:
cd backend1
npm start
  1. Start the frontend development server:
cd frontend
npm run dev

Building the Project

To build the frontend for production, run:

cd frontend
npm run build

Project Details

Frontend

  • Framework: React
  • Build Tool: Vite
  • Styling: Tailwind CSS
  • Linting: ESLint

Backend

  • Framework: Node.js
  • WebSocket: ws

Configuration Files

  • 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

License

This project is licensed under the MIT License.


About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published