Welcome to the Chat App! This README will guide you through the installation and setup process to get your chat application up and running.
Watch the demo of this chat application on YouTube: Chat App Demo
Before you begin, ensure you have the following installed:
- Node.js: Download and install from Node.js official website.
- MongoDB: Ensure MongoDB service is running. You can start it using
mongod
. - DataBase: Ensure you have a db setup with collections: credentials, publics and socials.
Follow these steps to set up and run the Chat App:
First, you need to configure the environment variables. Edit the provided environment file and save it as .env
.
cp env.example .env
Edit the .env
file to include your specific environment variables.
Navigate to the server directory, install the necessary packages, and start the server:
cd server
npm install
node server.js
Navigate to the client directory, install the necessary packages, and start the front end:
cd client
npm install
npm run dev
Once both the server and client are set up, you should be able to access the chat application through your web browser.
- Backend: The server is set up using Node.js and connects to a MongoDB database.
- Frontend: The client side is built with React js and Tailwind css.
Happy chatting!