davidlruizc / realtime-chat

Realtime mono repo api, db and app client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Realtime Chat Monorepo

Full stack chat based on rooms chat like discord or slack.

Backend API

  • NestJS
  • Socket.io
  • Typegoose
npm start

Database

  • MongoDB
  • Docker

Run the database

cd db; docker-compose up

Login to your container by using container names

docker exec -it <container-name> bash

Login to MongoDB with created User & Database by using

mongo -u <your username> -p <your password> --authenticationDatabase <your database name>

Stop the container

cd db; docker-compose down

Mobile App

Warning!

Make sure to install socket.io-client@2.1.1 to avoid bug in socket connection with backend.

Bug report on socket.io library 1245-535271575 and 1245-535665760

  • React Native
  • React Navigation
  • Socket.io-client

Run the app acording the OS

For iOS:

cd chatApp; npm run ios

For Android:

cd chatApp; npm run android 

About

Realtime mono repo api, db and app client


Languages

Language:JavaScript 31.4%Language:TypeScript 29.7%Language:Java 17.5%Language:Objective-C 12.5%Language:HTML 4.9%Language:Ruby 2.1%Language:Starlark 1.7%Language:Shell 0.2%