Chat-App

Welcome to Chat-App, a platform where users can connect with new friends and engage in conversations. If the desired user isn't registered, we've got you covered – invite them via email using our convenient Nodemailer integration.

Features

  • User Registration: Sign up and create your account effortlessly with Firebase Authentication.
  • Friend Discovery: Find and connect with new friends on the platform.
  • Real-time Chat: Enjoy seamless real-time conversations with your friends.
  • Nodemailer Integration: Invite friends to join the platform by sending email invitations.

Technologies Used

  • Frontend: Built with Chakra UI for a sleek and responsive design.
  • Framework: Utilized Next.js with TypeScript for efficient and scalable development.
  • Database: Firebase used for user data storage.
  • Authentication: Firebase Authentication for secure sign-ins with Google and GitHub.

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/MohammedAslam106/Chat-App.git
    
  2. Install dependencies:

    cd Chat-App
    npm install
    
  3. Set up Firebase:

    • Create a Firebase project on the Firebase Console.
    • Obtain your Firebase configuration and replace it in firebaseConfig in the relevant code file.
  4. Run the development server:

    npm run dev
    
  5. Open http://localhost:3000 in your browser.

Nodemailer Setup

To enable the email invitation feature, set up your Nodemailer configuration. Modify the nodemailerConfig object in the relevant code file with your email service provider's credentials.

```typescript

  const nodemailerConfig = {
    host: 'your-smtp-host',
    port: 587,
    secure: false,
    auth: {
      user: 'your-email@example.com',
      pass: 'your-email-password',
    },
  };

Contributing

We welcome contributions! Feel free to open issues or pull requests to help improve Chat-App.

Happy chatting! 🚀