Skip to content
/ ChatX Public

ChatX: Modern chat app connecting users globally. Secure login via Gmail/GitHub. Real-time messaging with Pusher. Efficient MongoDB storage. Join the conversation!

Notifications You must be signed in to change notification settings

aj-02/ChatX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

636bfac · Apr 30, 2024

History

6 Commits
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Apr 30, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024
Mar 19, 2024

Repository files navigation

ChatX: Worldwide Chat Application

ChatX is a versatile chat application that enables users to connect and chat with people worldwide. With seamless integration of Gmail and GitHub login via NextAuth, ChatX ensures a secure and hassle-free authentication process. Powered by Pusher and MongoDB, ChatX provides real-time messaging capabilities and stores user data and messages efficiently.

Features

  • Global Connectivity: Connect and chat with users worldwide, breaking geographical barriers.
  • Secure Login: Log in securely using your Gmail or GitHub credentials via NextAuth.
  • Real-time Messaging: Enjoy instant messaging with real-time updates powered by Pusher.
  • Database Integration: Store user data and messages efficiently using MongoDB.

Screenshots

Here are some screenshots of ChatX in action:

Login Page

login

Register Page

image

Users Page

image

Chats Page

image

Getting Started

To get started with ChatX, follow these steps:

  1. Clone the ChatX repository to your local machine:
  1. Install dependencies:
  • npm install
  1. Set up environment variables:
  • Create a .env file in the root directory.

  • Add your Pusher API credentials:

    NEXTAUTH_URL=http://localhost:3000
    PUSHER_APP_ID=your_pusher_app_id
    PUSHER_KEY=your_pusher_key
    PUSHER_SECRET=your_pusher_secret
    
  • Add your MongoDB connection string:

    MONGODB_URI=your_mongodb_connection_string
    
  1. Run the application:

npm run dev

  1. Access ChatX in your browser at http://localhost:3000.

Technologies Used

  • Next.js: Frontend framework for building React applications.
  • NextAuth: Authentication library for Next.js applications, enabling Gmail and GitHub login.
  • Pusher: Real-time messaging API for enabling instant messaging functionality.
  • MongoDB: NoSQL database for storing user data and messages efficiently.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. Feel free to use and modify this project for your own purposes.

About

ChatX: Modern chat app connecting users globally. Secure login via Gmail/GitHub. Real-time messaging with Pusher. Efficient MongoDB storage. Join the conversation!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages