Skip to content

noxiousghost/nodejs-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Chat App

Welcome to the Chat App! This is a real-time chat application built with Node.js, Express.js, React.js, and Chat Engine API. It allows users to communicate with each other in real-time, creating chat rooms and engaging in conversations. This README file will guide you through setting up and using the project effectively.

Setup

To set up the Chat App on your local machine, follow the steps below:

Prerequisites

  • Node.js (version 12 or above) installed on your machine.
  • Chat Engine API credentials (You can obtain them by signing up at Chat Engine)

Installation

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/noxiousghost/nodejs-chat-app.git
  1. Navigate to the project directory:
cd nodejs-chat-app
  1. Install the required dependencies in both frontend and backend direcotry seperately by running the following command:
cd Frontend
npm install
cd Backend
npm install
  1. Modify the following files to enter you ChatEngine project ID and private key: i. Frontend/src/ChatsPage.jsx ii. Backend/index.js

Usage

Once you have completed the setup process, you can start using the Chat App by following these steps:

  1. Start the Backend:
npm start --host
  1. Start the Frontend:
npm run dev -- --host
  1. Open your web browser and visit http://localhost:5173 to access the Chat App.

  2. Enter any username desired and click on continue.

  3. Create or join a chat room to start chatting with other users in your local network.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

Before contributing, please make sure to familiarize yourself with the CONTRIBUTING.md file.

License

This project is licensed under the MIT License. Feel free to use and modify this project for your own purposes.

About

A simple real time chat app made by using React, Express and Chatengine api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published