A real-time chat application built with TypeScript, consisting of a WebSocket server backend and a React frontend.
- Built with TypeScript and WebSocket (ws)
- Dependencies:
- ws: ^8.18.0
- typescript: ^5.7.2
- @types/ws: ^8.5.13
- Built with React, TypeScript, and Vite
- Uses Tailwind CSS for styling
- Dependencies:
- react: ^18.3.1
- react-dom: ^18.3.1
- typescript: ~5.6.2
- vite: ^6.0.1
- tailwindcss: ^3.4.15
- Navigate to the backend directory
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Navigate to the frontend directory
- Install dependencies:
npm install
- Start the development server:
npm run dev
npm run dev
- Compiles TypeScript and runs the server
npm run dev
- Starts the Vite development servernpm run build
- Creates a production buildnpm run lint
- Runs ESLintnpm run preview
- Previews the production build
ISC