Connectify is a chatting website. Some features:
Explore the live version of Connectify Chat App here.
This guide will walk you through the process of setting up the Connectify Chat App on your local machine.
Before you begin, ensure you have Node.js installed on your system.
Start by cloning the repository to your local machine:
git clone https://github.com/Harsh-9000/Connectify-Chat-App.git
cd Connectify-Chat-App
Environment Files: Navigate to the backend
folder and create a file: .env
. Add the following content to the file:
# MongoDB Variables
MONGODB_CONNECTION_STRING=
# JWT Variables
JWT_SECRET_KEY=
# Frontend Variables
FRONTEND_URL=
# Cloudinary Variables
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
MongoDB Setup:
MONGODB_CONNECTION_STRING
variable in your .env
files..env.e2e
setup see "running automated tests" belowCloudinary Setup:
CLOUDINARY_*
variables in your .env
files.JWT_SECRET_KEY:
Frontend URL:
FRONTEND_URL
should point to the URL where your frontend application is running (typically http://localhost:3000
if you're running it locally).Environment Files: Navigate to the frontend
folder and create a file: .env
:
VITE_APP_BACKEND_URL=
VITE_APP_BACKEND_URL:
VITE_APP_BACKEND_URL
should point to the URL where your backend application is running (typically http://localhost:7000
if you're running it locally).Backend:
backend
directory.npm install
.node index.js
.Frontend:
frontend
directory.npm install
.npm run dev
.http://localhost:5173
but verify this in your command line terminal