Name - Shyam Kumar
Admission number - 22je0944
Department - Mechanical Engineering - Mining Machinery Engineering
University - IIT Dhanbad , Jharkhand
This is a chat application built using Next.js, MongoDB, and Pusher. please follow the instructions below to set up the project locally.
- Node.js
- npm
- MongoDB
-
Clone the Repository:
git clone https://github.com/YourBroCode/My_Chat_Application.git
-
Navigate to the Project Directory:
cd My_Chat_Application
-
Install Dependencies:
npm install
-
Configure Environment Variables:
Create a
.env
file in the root directory and add the following variables:MONGODB_URL= NEXTAUTH_SECRET= NEXTAUTH_URL=http://localhost:3000 PUSHER_APP_ID= NEXT_PUBLIC_PUSHER_APP_KEY= PUSHER_SECRET= PUSHER_CLUSTER= NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME= NEXT_PUBLIC_GCP_API_KEY= NEXT_PUBLIC_UPLOAD_PRESET=
-
Start the Development Server:
npm run dev