Skip to content

SHREYK213/Nodejs-Real-time-Chat-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat_App

This is a real-time chat application built with Node.js that allows users to send messages in real-time and share their locations.

This is currently under work, so feel free to fork this repository and contibute.

Features

  • Real-time Messaging: Users can send and receive messages in real-time using websockets.
  • Location Sharing: Users can share their current location with other users in the chat.

Technologies Used

  • Node.js
  • Express.js
  • Socket.IO

Prerequisites

Before running this application, ensure that you have the following installed:

  • Node.js
  • NPM (Node Package Manager)

Getting Started

Follow the steps below to get the app up and running on your local machine:

  1. Clone this repository:

    git clone https://github.com/your-username/chat-app.git
    
  2. Install the dependencies:

    npm install
    
  3. Start the application:

    npm run dev
    
  4. Open your browser and visit http://localhost:3000 to see the app in action.

Configuration

The app uses environment variables for configuration. Create a .env file in the root directory of the project and provide the following variables:

PORT=3000

Feel free to change the value of PORT if necessary.

Contributing

Contributions are welcome! If you find any issues or would like to suggest new features, please open an issue or submit a pull request.

License

This project is licensed under the Apache License 2.0.

Acknowledgements

Contact

For any questions or inquiries, please contact me at shreyaspoojary240@gmail.com