/webchat

live chat MERN project

Primary LanguageJavaScriptMIT LicenseMIT

Web Chat 💬 · GitHub license NPM Version Node Version · demo video

Live chat built with the MERN stack.

Features

  • Route protection with JSON Web Token
  • Password hashing/encryption using Bcrypt
  • Global state management with Redux Toolkit
  • Styles with TailwindCSS

Usage

Env. Variables

Create a .env file in the project root folder:

NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = abc

Install & Run

Execute the following commands:

# Install backend server
npm install
 
# Install frontend client
cd client npm install

# Run project
npm run dev