this repo is a simple real-time chat application written in Express.js for the backend and React.js for the frontend. This project is organized as a monorepo.
- Real-time messaging: Instantly send and receive messages without the need for refreshing the page.
- Express.js Backend: Built on top of Express.js, providing a robust and scalable server-side architecture.
- React Frontend: Utilizes React.js for a dynamic and responsive user interface.
- Monorepo Structure: Organized as a monorepo to manage both client and server code in a single repository.
Before running the application, ensure you have the following installed:
- Node.js: Download and Install Node.js
- npm: Node.js package manager, typically installed with Node.js
- Clone the repository:
git clone https://github.com/yourusername/express-react-chat.git
- Navigate to the project directory
cd express-react-chat
- Install dependencies
npm install
To start the application, run the following command:
npm start
This command will concurrently start the client and server.
The project is structured as follows:
└── apps
├── client: Frontend React application
└── server: Backend Express.js server
Each directory contains its respective codebase.