Chat consists of:
chat-server
to serve datachat-web
web client serverchat-mobile
mobile app
First you need to run chat-server
:
- Install Node. For your convenience use nvm.
- Install yarn
- Proceed to
chat-server
directory - Install dependencies:
$ yarn
- Build and start app:
$ yarn build:start
Next you need to start web client server chat-web
:
- Proceed to
chat-web
directory - Install dependencies:
$ yarn
- Then proceed to http://localhost:3000
- Fill new user credential and press
Sign Up
. After you canSign Out
and use these credentials toLog In
. - Open in another browser or tab using other credentials and check chat functionality.
You can seamlessly use same functionality through mobile app for iOS and Android
- Proceed to
chat-mobile
directory - Install dependencies:
$ yarn
- Start iOS app:
$ yarn ios
- You can also start Android app:
$ yarn android
(you need open emulator for this) - Use existing user to Log In or create new one for app.