Skip to content

shaunak012/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat App

This is a simple chat application built using React, Socket.io, Express, Node.js, and Cors.

Features(current)

Real-time messaging: Users can send and receive messages in real-time.

Global Chat:Users can chat and interact on a global chat

Message history: The app stores chat history, allowing users to view past conversations.

Private and group chat: Users can engage in private conversations with specific individuals or participate in group chats.

Installation

  1. : Fork the repository

  2. : Copy code:

git clone https://github.com/your-username/chat-app.git
  1. : Change into the project directory:
cd chat-app
  1. : Install the dependencies:
npm install
  1. : Go into nodeServer folder
cd nodeServer
  1. : Install the dependencies:
npm install
  1. : Run server
npm start
  1. : Run react after going to the previous directory
npm start
  1. : Open link
http://localhost:3000

Dependencies The following dependencies are used in this project:

  • React - JavaScript library for building user interfaces.
  • Socket.io - Real-time bidirectional event-based communication library.
  • Express - Fast, unopinionated, minimalist web framework for Node.js.
  • Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Cors - Middleware for enabling Cross-Origin Resource Sharing (CORS) in Express.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please create a new issue in the issue tracker.

If you'd like to contribute code, please fork the repository, create a new branch with your changes, and submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

React Documentation for detailed information about React.

Socket.io Documentation for the documentation of Socket.io.

Express Documentation for the API reference of Express.

Node.js Documentation for the documentation of Node.js.

Cors Github for information on using the Cors middleware.

Feel free to customize this README.md file according to your project's specific details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published