Skip to content

AliAlsalkhadi/ChatLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Chat Application

This is a chat application built with Node.js, Express, ChatEngine.io, React, HTML, CSS, and JavaScript. It allows users to create accounts, join chat rooms, and communicate with other users in real-time.

Installation

To install the application, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/chat-app.git
  2. Install dependencies: npm install
  3. Create a ChatEngine.io account and obtain your credentials.
  4. Create a .env file with your ChatEngine.io credentials:
    -REACT_APP_CHAT_ENGINE_PROJECT_ID=
    -REACT_APP_CHAT_ENGINE_PRIVATE_KEY=
  5. Start the server: npm start

Run

To run the application, you will need to open two separate terminal windows:

  1. In the first terminal window, navigate to the backend directory of the project and run the following command:
    npm run start

  2. In the second terminal window, navigate to the frontend directory of the project and run the following command:
    npm run dev

This will start your frontend development server and open your web application in a browser window. You can now use your web application by interacting with it through your browser window.

Usage

To use the application, open it in your web browser at http://localhost:3001. You will be prompted to create an account or log in if you already have one. Once you are logged in, you can join chat rooms and communicate with other users in real-time.

Contributing

If you would like to contribute to the application, please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/my-new-feature
  3. Make changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Create a new pull request

License

This application is licensed under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published