Code Monkey home page Code Monkey logo

react-native-chatapp-socket's Introduction

React Native Chat App With Socket

Clean and minimalist React Native template for a quick start with Chat Applications with TypeScript.

⭐ Features

  • Chat with users as real-time
  • See custom drop-down alert when message received
  • See last seen status of the user
  • See if the message is unread
  • Basic Login and Registeration process
  • Multilanguage Support

⬇️ Installation

Install backend

Install Node.js API from here: https://github.com/ilkerkesici/node-chatapp-backend-socket.git

git clone https://github.com/ilkerkesici/node-chatapp-backend-socket.git

Clone this repository

git clone https://github.com/ilkerkesici/react-native-chatapp-socket.git

Install dependencies

yarn install

Link

cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step

Add .env file

Create .env file on your project root directory and then add these lines:

API_KEY= YOUR_API_URL  # Add your API url
SOCKET_IP=YOUR_SOCKET_URL  # Add your socket url. If your socket backend is in your API, you can write your API url here
ENV_SECRET_KEY=YOUR_SECRET_KEY. # Add your secret key

Start

yarn ios    # For ios
yarn android    # For android

⚠️ Dependency

Note on the legacy CLI

There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

🔖 License

This project is MIT licensed.

react-native-chatapp-socket's People

Contributors

ilkerkesici avatar

Watchers

 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.