A real-time chat application built with WebSockets.
- Real-time messaging
- User authentication
- Private chats
- Easily accessed chatting platform
- Interactive user-interface
Check out a live demo of the chat application: [https://chat-app-eta-sepia.vercel.app/]
- Frontend: HTML, CSS, JavaScript, React
- Backend: Node.js, Express
- WebSockets: Socket.IO
- Database: PostgreSQL
- Authentication: JWT (JSON Web Tokens)
- Node.js
- npm (Node Package Manager)
- PostgreSQL
-
Clone the repository
git clone https://github.com/reem2010/chatApp.git
-
Navigate to the project directory
cd chat-application
-
Install dependencies
npm install
-
Set up environment variables Create a
.env
file in the Backend root directory and add the following:DATABASE_URL=your-PostgreSQL-uri SecretKey=your-secret-key HOST: 'http://localhost:5173'
Create a
.env
file in the Frontend root directory and add the following:VITE_Host='http://localhost:3000'
- Start the PostgreSQL server
- Start the application
npm start
- Open your browser and navigate to
http://localhost:3000
Contributions are welcome! Please fork the repository and submit a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some NewFeature'
) - Push to the Branch (
git push origin feature/NewFeature
) - Open a Pull Request
Reem Tarek - [[email protected]] Reem Kamal - [[email protected]] Emil Dawood - [[email protected]]
Project Link: [https://github.com/reem2010/chatApp]