This project develops a chat room application that allows any authenticated user to send messages.
Check out the live demo here.
Demo Credentials - username: demo | password: password
- Next JS
- Tailwind CSS
- React JS
- Node JS
- Express JS
- MongoDB
- Socket.IO
- Sonner
- Clone this repository:
git clone https://github.com/spudoodle/chat-app.git
- Navigate to the project directory:
cd chat-app
- Install dependencies:
npm install
- Create .env file:
touch .env
- Add MongoDB_URI to .env file:
MONGODB_URI=URI
- Start the development server:
npm run dev
- Open your browser and visit http://localhost:3000
- Navigate to the backend directory:
cd chat-app/backend
- Install dependencies:
npm install
- Create .env file:
touch .env
- Add MongoDB_URI to .env file:
MONGODB_URI=URI
- Start the development server:
node server.js