Chattie is a real-time chat application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack with Socket.io for real-time communication.
- Real-time messaging using Socket.io
- User authentication and authorization
- Create and join chat rooms
- View online users
- Responsive design using Tailwind CSS
Check out the live demo here.
- MongoDB: A NoSQL database used to store user data, chat messages, and chat rooms.
- Express.js: A Node.js web application framework used to create the backend server and APIs.
- React.js: A JavaScript library used to build the frontend user interface.
- Node.js: A JavaScript runtime environment used for building the backend server.
- Socket.io: A JavaScript library for real-time web applications, used for real-time communication between clients and server.
- Tailwind CSS: A utility-first CSS framework used for styling the frontend components.
To get a local copy of the project up and running, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/chattie.git
- Navigate into the project directory:
cd chattie
- Install dependencies for both frontend and backend:
cd frontend
npm install
cd ../backend
npm install
- Run the development servers:
# Run backend server
cd backend
npm start
# Run frontend server (in a separate terminal)
cd frontend
npm run dev
- Open your browser and navigate to
http://localhost:3000
to view the app.
Contributions are welcome! Please feel free to open issues or pull requests for any improvements or bug fixes.
This project is licensed under the MIT License.