The Chatify Application is a web-based application that emulates the core features and functionality of the popular Social media application, Facebook. This README file provides an overview of the project, installation instructions, and other relevant information.
Checkout the live version of Chatify Application website Here
Frontend:
Backend
To use Chatify Application on your local machine, follow these steps:
- clone the repository
git clone https://github.com/Diana-nyamai/Chat-application.git
- install the dependencies
cd Whatsapp-Clone
npm install
- start the server
npm start
- Access the application
- Open your browser and visit
http://localhost:3000
To set up the backend server for the Chat Application on your local machine, follow these steps:
- Make sure you have Node.js and MongoDB installed on your system. If you don't have them, you can download and install them from their official websites.
- Change into the backend directory:
cd RESTapi
- Install the required dependencies:
npm install
- Configure the MongoDB connection:
- Open the
.env
file located in the backend directory. - Replace <MONGO_URL> with the MongoDB connection string. If you are running MongoDB locally, the connection string might look like:
- "mongodb+srv://
<username>:<password>
@cluster0.sjtdtdy.mongodb.net/<databaseName>
?retryWrites=true&w=majority."
- Start the backend server:
npm start
-
By default, the backend server will run on port 5000. If you want to change the port, you can modify the PORT constant in the index.js file.
-
The backend server is now up and running. You can now access the full Chatify Application by visiting http://localhost:3000 in your browser (assuming the frontend is running on port 3000).
Note: If you encounter any issues during the installation process, please refer to the project documentation or open an issue in the repository.
It is essential to remember that the backend installation assumes you have MongoDB installed and running on your system. Also, make sure the frontend and backend configurations match (e.g., the frontend should be configured to make API calls to the correct backend URL). With both the frontend and backend running, you should be able to use the Chat Application on your local machine. Happy chatting!
Contributions are welcome! If you have any suggestions for improvements, please open an issue or submit a pull request to the repository
For any inquiries, please contact the project maintainer at [dnyamai.dn@gmail.com]