Skip to content

Simple NodeJS server on socket.io + mongoDB and react-native mobile application

Notifications You must be signed in to change notification settings

keylink/React-native-socket.io-Chat

Repository files navigation

React-native-socket.io-Chat

Simple NodeJS server on socket.io + mongoDB and react-native mobile application

Official Docs

This Application is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.

Installation

This app requires Node.js, express.js, mongoDB, Expo cli, socket.io install it before you run the application

Install the dependencies and devDependencies and start the nodeJs server.

$ cd server
$ npm install
$ npm start

Server will listen the event on ":3000" port

localhost:3000

Install the dependencies for React Native.

$ cd React-native-socket.io-Chat
$ npm install
$ expo start

Then you have to install Expo client app to your own telephone

  • Expo client app
  • Scan QR code from your application
  • in settings of the application you have to set your local IP-address

That it! Enjoy the React Native application!


TODO List for learn React Native framework

Number Description
1 Learn more about the React native API of the native modules
2 Try to connect to local memore of the device and fetch the data like images )
3 Create design for contacts and logic to choose the friends
4 Minimize code in project
5 Read official docs about socket.io
6 Add for all requests status when client typing add the onlice statuses
7 Create search form on chat page

Enjoy! thank you.

About

Simple NodeJS server on socket.io + mongoDB and react-native mobile application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published