Skip to content

saquibshaikh14/react-native-1to1-chat-app-with-express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Native 1-to-1 Chat App

React Native 1-to-1 Chat App

A React Native mobile application that enables users to have 1-to-1 real-time chat conversations. The server is built with Express using long polling and supports two hardcoded user accounts: testuser and testuser2.

Table of Contents

Project Overview

The React Native 1-to-1 Chat App allows users to create an account and log in with one of the two available hardcoded user accounts: testuser and testuser2. Once logged in, users can start a chat conversation with the other user and send real-time messages.

The server is built with Express and uses long polling to enable real-time communication between the users. The server has two hardcoded user accounts: testuser and testuser2, with the passwords test@123 for both.

Features

  • User login functionality
  • Real-time 1-to-1 chat conversations
  • Message will be deleted once sent to receipient
  • User authentication and authorization

Getting Started

Prerequisites

Before running the React Native app and the Express server, make sure you have the following prerequisites installed:

  • Node.js
  • npm (Node Package Manager)
  • React Native CLI

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/react-native-chat-app.git
    
  2. Navigate to the project directory:

    cd react-native-chat-app
    
  3. Install the dependencies for the React Native app:

    npm install
    
  4. Install the dependencies for the server:

    cd server
    npm install
    

Contributing

Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue. Feel free to add or modify.

Contact

For any inquiries or further information, please contact: [email protected].