Skip to content

ujjwalnp/chatapp

 
 

Repository files navigation

Chat App

This is a real-time chat application developed using the MERN (MongoDB, Express.js, React.js, Node.js) stack with socket.io for WebSocket communication.

Some Features

  • 🌟 Tech stack: MERN + Socket.io + TailwindCSS + Daisy UI
  • 🎃 Authentication && Authorization with JWT
  • 👾 Real-time messaging with Socket.io
  • 🚀 Online user status (Socket.io and React Context)
  • 👌 Global state management with Zustand
  • 🐞 Error handling both on the server and on the client

Technologies Used

  • Frontend: React.js, HTML/CSS, Tailwind, daisyUI
  • Backend: Node.js, Express.js
  • Database: MongoDB (using Mongoose for ODM)
  • Real-time Communication: socket.io

Project Screen Shot(s)

Login Image Login Image Login Image Login Image

Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests.

clone the project

git clone https://github.com/srijan-lamichhane/chatapp.git

Setup .env file

PORT=...
MONGO_DB_URI=...
JWT_SECRET=...
NODE_ENV=...

Build the app

npm run build

Start the app

cd frontend
npm run dev

Start the server

npm run server

🌟star to the repository is appreciated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.5%
  • CSS 1.8%
  • HTML 0.7%