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.
- 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.
- 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.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/MohammedAslam106/Chat-App.git
-
Install dependencies:
cd Chat-App npm install
-
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.
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
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',
},
};
We welcome contributions! Feel free to open issues or pull requests to help improve Chat-App.
Happy chatting! 🚀