Skip to content

amisha-adwani/hushnet-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hushnet ChatApp

Real-time text-based chat app using MongoDB, Express.js, React.js, Node.js, Socket.io,JSON Web Tokens (JWT)

Features

  • Real-time messaging
  • User authentication
  • Group chat
  • Private chat
  • Emoji Support
  • Integrate canvas
  • Customize user profile

Installation

  1. Clone the repo
  2. Navigate to the directory
  3. Install dependencies npm install
  4. Set up environment variable
    • Create a .env file in client and server

    • Define the following variables in client .env REACT_APP_BASE_URL=http://localhost:3001
      REACT_APP_fetchURL=http://localhost:3001/room
      REACT_APP_SIGNUP_URL = http://localhost:3001/auth/signup
      REACT_APP_LOGIN_URL = http://localhost:3001/auth/login

    • Define the following variables in server .env MONGO_URI=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret_key

  5. Start the server
    npm run both to run both client and server simultaneously

About

A chat app with collaborative canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published