Skip to content

πŸ’¬ Chatbot Application ⚑ A real-time MERN stack chatbot πŸ€– powered by Socket.io for instant messaging. Features secure authentication πŸ”, encrypted passwords πŸ”‘, and seamless frontend-backend communication 🌐, ensuring a smooth user experience. πŸš€

Notifications You must be signed in to change notification settings

aditri1001/Chatbot-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ Chatbot Application

A real-time MERN stack chatbot πŸ€– powered by Socket.io for instant messaging. This application ensures secure authentication, encrypted passwords, and seamless frontend-backend communication for a smooth user experience. πŸš€

✨ Features

  • πŸ”Ή Real-time messaging with Socket.io
  • πŸ”Ή Secure authentication with protected routes
  • πŸ”Ή Encrypted passwords using bcrypt.js πŸ”‘
  • πŸ”Ή Seamless frontend-backend communication with CORS
  • πŸ”Ή API testing with Postman
  • πŸ”Ή Responsive and user-friendly UI 🎨

πŸ› οΈ Tech Stack

  • Frontend: React.js βš›οΈ, CSS 🎨
  • Backend: Node.js, Express.js 🌐
  • Database: MongoDB Atlas πŸ“¦, Mongoose
  • Real-time Communication: Socket.io ⚑
  • Authentication & Security: bcrypt.js πŸ”, JWT
  • API Testing: Postman

πŸš€ How It Works

  1. User Registration & Login πŸ”
    • Users sign up with a secure authentication process.
    • Passwords are encrypted using bcrypt.js.
  2. Real-time Chatting πŸ’¬
    • Users can send and receive messages instantly via Socket.io.
    • Messages are stored securely in MongoDB Atlas.
  3. Security & Protection πŸ›‘οΈ
    • Protected routes ensure only authenticated users access chat.
    • CORS handles seamless frontend-backend interaction.

πŸ“Œ Installation

  1. Clone the repository

    git clone https://github.com/yourusername/chatbot-app.git
    cd chatbot-app
  2. Install dependencies

    # For backend
    cd server
    npm install
    
    # For frontend
    cd ../client
    npm install
  3. Set up environment variables

    • Create a .env file in the server directory and add:
      MONGO_URI=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret
  4. Run the application

    # Start backend server
    cd server
    npm start
    
    # Start frontend
    cd ../client
    npm start
  5. Access the app

    • Open http://localhost:3000 in your browser.

πŸ”— Let's connect! LinkedIn | GitHub

About

πŸ’¬ Chatbot Application ⚑ A real-time MERN stack chatbot πŸ€– powered by Socket.io for instant messaging. Features secure authentication πŸ”, encrypted passwords πŸ”‘, and seamless frontend-backend communication 🌐, ensuring a smooth user experience. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published