GithubHelp home page GithubHelp logo

noydvori / chatapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.72 MB

Cross-platform chat application • BIU course 89211

HTML 1.22% CSS 21.28% JavaScript 77.50%
biu css html javascript mongodb react socket-io

chatapp's Introduction

Web-Chatting App

Welcome to our cross-platform chat application! This application allows users to chat in real-time across various platforms. We've developed an efficient server using Node.js with the Express framework, and we utilize MongoDB as the database to store and retrieve data. The client-side was built using React, and real-time communication is achieved through Socket.IO.

Getting Started

Before running the application, make sure you have the necessary dependencies installed. You can do this by running:

npm install

Environment Variables

The application uses environment variables to configure essential settings. There are two .env files provided:

For the Client

Create a .env file in the root folder containing the following variable:

REACT_APP_SERVER_URL=<SERVER_URL>

Replace <SERVER_URL> with the URL where the server is hosted.

For the Server

Create a .env.local file in the ./webServer/config folder with the following variables:

MONGODB_CONNECTION_STRING=<MONGODB_CONNECTION_STRING>
PORT=<PORT_NUMBER>

Replace <MONGODB_CONNECTION_STRING> with the MongoDB connection string and <PORT_NUMBER> with the desired port number for the server.

Running the Application

To start the application, run the following command:

npm start

This command loads the environment variables from the .env.local file to the server, ensuring the correct configuration.

Contributors

This project was developed by Ronnie and Noy.

Thank you for using our web chatting app! If you have any issues or questions, please don't hesitate to reach out. Happy chatting!

chatapp's People

Contributors

noydvori avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.