/Chat-App

Building a chat app with Socket.io and React Native

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Chat App

Building a chat app with Socket.io and React Native

Project Details: 💣

Creates a sign in screen where you can enter your name, create groups where people can join and show real-time messages between the people in the group. The message function contains subject and text parts.

Technologies Used

  • React Native Expo 🧩
  • Node.js library - Socket.io 🧩

Steps for installation

Clone

  • Clone this project to your local machine
git clone https://github.com/SabaUrgup/Chat-App

Setup

  • Installing the project dependencies

    Run the command below

cd app
yarn install
cd server
npm install
  • Start your node server

    run the command below

npm start
  • Start the application

    run the command below

npx expo start
  • Start your local connection

The connection of the server and the mobile application is a local connection. For this reason, you should write the ip address of the computer on which the backend is running, in the SOCKET_URL part of the config.js file under the app folder.

Resources

For the library and commands, the relevant medium article given in the assignment was referenced.