Ctere1 / react-native-chat

React Native Real Time Chat App
MIT License
22 stars 9 forks source link
chatapp expo firebase react-native



React Native Chat App ![React Native](https://img.shields.io/badge/react_native-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB) ![Firebase](https://img.shields.io/badge/firebase-%23039BE5.svg?style=for-the-badge&logo=firebase) ![Expo](https://img.shields.io/badge/expo-1C1E24?style=for-the-badge&logo=expo&logoColor=#D04A37)

IntroductionFeaturesInstallation GuideBuilding GuideScreenshotsCreditsLicenseContributors

![GitHub Repo stars](https://img.shields.io/github/stars/Ctere1/react-native-chat?style=social) ![GitHub forks](https://img.shields.io/github/forks/Ctere1/react-native-chat?style=social) ![GitHub watchers](https://img.shields.io/github/watchers/Ctere1/react-native-chat?style=social)

ℹ️ Introduction

Real Time Chat Application that written in React Native and Expo platform. It uses Firebase (Web version 9) realtime database.

https://github.com/Ctere1/react-native-chat/assets/62745858/bcde4aa0-d2f2-4d8c-8716-bf274c059d2e

[!Note] You can check the screenshots below

⚡Features

Feature Description
Signup and Login Firebase Email/Password sign-in method. Allow users to sign up using their email address and password
Send Text Message Essential for casual messaging
Send Picture You can send pictures without losing quality
Group Chat You can send your messages to multiple people at the same time
Delete Chat You can delete chats after holding and selecting them
Delete Account You can delete your account
Real Time Chat The last incoming message will be placed at the top of the chat screen
Users List Registered users sorted by alphabetical index (A -> Z)
Note to Self You can also take notes by sending a message to yourself

💾Installation Guide

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer.

 # Clone this repository
 $ git clone https://github.com/Ctere1/react-native-chat
 # Go into the repository
 $ cd react-native-chat
 # Install dependencies
 $ npm install

For running the app:

# Go into the repository
$ cd react-native-chat
# Run the expo
$ npx expo start

After these steps install the Expo Go mobile app from the Google Play Store or Apple App Store on your testing device. This app allows you to run and test React Native applications built with Expo.

[!Warning]
Do not forget to setup .env file for Firebase connection. Please see the doc or see this comment

🏗️Building Guide

To build this application, follow these steps:

This command will start the build process using the preview profile (see eas.json). The build process will package your application into an APK file that you can install on an Android device.

[!Note] Environment variables defined in a .env file are only considered by the Expo CLI. Therefore, if you upload a .env file to EAS Build, it can be used to inline EXPO_PUBLIC_ variables into your application code.

[!Note] However, the recommended practice is to use .env files in your local environment, while defining environment variables for EAS Build in eas.json. Environment variables defined in your eas.json build profile will be used when evaluating your app.config.js when running eas build and will be available to all steps of the build process on the EAS Build server.

[!Note] This may result in some duplication of variables between .env files and eas.json build profiles, but makes it easier to see what variables will be applied across all environments.

🪟Screenshots

Login-Signup Pages

User can login User can signup

Chats Page

User can access chats User can see all users User can create new group chat User can delete chats

Settings Page

User can access settings User can see the profile section User can see the help section User can see the account section

Chat Page

Emoji Panel Note to Self Main Chat Screen Chat Information Screen

📝Credits

This software uses the following packages:

©License

GitHub

LICENSE

📌Contributors