Giter VIP home page Giter VIP logo

chatx's Introduction

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.

chatx's People

Contributors

aj-02 avatar

Stargazers

Gabriel Lemos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.