This is a scalable, realtime chat application built with Node.js, React.js, and ChatEngine.io.
- Real-time messaging
- Scalable architecture
- User authentication
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Node.js and npm
- You have a ChatEngine.io account and have obtained your private key and project ID
-
Clone this repository:
git clone [your-repo-link] cd [your-repo-name] -
Install the dependencies for both frontend and backend:
cd backend npm install cd ../frontend npm install -
Create a
.envfile in the backend directory and add your ChatEngine.io credentials:CHAT_ENGINE_PROJECT_ID=your_project_id CHAT_ENGINE_PRIVATE_KEY=your_private_key
To run the application:
-
Start the backend server:
cd backend npm run start -
In a new terminal, start the frontend development server:
cd frontend npm run dev -
Open your browser and navigate to
http://localhost:5173(or the port specified by your Vite configuration).
To use this application, you need to set up your own ChatEngine.io account:
- Go to ChatEngine.io and create an account
- Create a new project
- Get your Project ID and Private Key from the project settings
- Update the
.envfile in the backend directory with these credentials
They are always welcome. Please fork the repository and create a pull request.
If you want to contact me, you can reach me at dosterevan@gmail.com.
- ChatEngine.io for providing the chat infrastructure
- YouTube for tutorials and inspiration

