• This repository has been archived on 26/Dec/2022
  • Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Video and Messages Chat using React Native and GraphQL

Chatify

Welcome to Chatify a simple chat application that uses React Native and GraphQL

Welcome to Chatify a simple chat application that uses React Native and GraphQL

The idea for this open source project is to show how we can use GraphQL Subscriptions to deal with Real time updates. And also to show people that WebRTC its not a Monster.

Also im preparing a blog Post to show you guys the processes and the troubles that i passed through.

How to run the app

  1. First install the dependencies yarn install
  2. Copy the env file to .env yarn server:config:local
  3. Run the server yarn server:dev
  4. Start packager yarn app:start
  5. Run on ios or android yarn app:ios or yarn app:android

PS: You need to have mongo installed on your machine

PPS: Android device or AVD must be running so reat native will be able to find the device to deal with the installation

To test the video calls you need two devices and ngrok to expose the server to the devices!

PPS: Run the server and the packager before all those steps above

  1. run this command ngrok http 5000 to expose the port to the device will appear something like this
Session Status                online
Session Expires               7 hours, 47 minutes
Version                       2.3.29
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040
Forwarding                    http://7963e9cd.ngrok.io -> http://localhost:5000
Forwarding                    https://7963e9cd.ngrok.io -> http://localhost:5000
  1. Copy the fowarding without the http:// like this 7963e9cd.ngrok.io and replace on the config.ts:
export const GRAPHQL_URI = 'http://something.ngrok.io/graphql'
export const SUBSCRIPTIONS_URI = 'ws://something.ngrok.io/graphql'
  1. Build on the device using XCode

  2. And test the video calls ❤️

Main Libraries Used to do the dirty job

Backend:

  • GraphQL
  • Mongoose
  • Jest
  • Apollo Server
  • GraphQL Tag

Front End:

  • React Native
  • React Native WebRTC
  • React Apollo
  • React
  • Jest
  • React Apollo Hooks

Mentions:

Sibelius
Sibelius Seraphini
Joao
Joao Marins
Thom
Raphael Thomazella

More Repositories

1

tunnel

A Simple and Reliable state machine made on top of React Context, and it has store persisting out of the box
JavaScript
24
star
2

notes-app-react-native

Simple Notes App Using React Native, NativeWind, XState
TypeScript
22
star
3

vue.pnpm

Vue and PNPM Monorepo
Vue
17
star
4

files-heavylifting-react

Web Workers Implementation, for heavy file splitting and uploading
TypeScript
16
star
5

blog

My Personal Website and Blog
TypeScript
11
star
6

styled-toolset

styled-components toolset to reduce duplicity
TypeScript
7
star
7

template-rest

A Rest Template using ExpressJS, Yup, Mongoose, and Docker
TypeScript
7
star
8

twitter-go

Twitter Clone Backend Using GoLang
Go
7
star
9

fastify-ts-rest-boilerplate

TS + REST + MONGOOSE + DOCKER
TypeScript
6
star
10

apollo-made-easy

Simple app using apollo
TypeScript
5
star
11

template-graphql

TypeScript
5
star
12

todoist

A simple todos app using flutter and mobx made in 1 day
Dart
5
star
13

graphql-go-boierplate

A simple boilerplate for GoLang GraphQL server
Go
5
star
14

my-weather-app

A simple weather app using React native and open weather
TypeScript
4
star
15

rest-api-monorepo

Rest API Simple Monorepo
TypeScript
4
star
16

apollo-server-ts

Typescript apollo server boilerplate
TypeScript
4
star
17

dotfiles

My configs and fonts that i use 🚀❤
Vim Script
3
star
18

go-rest-boilerplate

GraphQL and Fiber, with Auth boilerplate
Go
3
star
19

twitter-front-react

Twitter Front End for tho GoLang Backend
JavaScript
3
star
20

memo-and-callback

A simple repository showing how to use React.Memo, useCallback, useMemo
TypeScript
3
star
21

blog-graphql

TypeScript
3
star
22

hardhat-typescript-boilerplate

Hardhat typecript project with sample contract
TypeScript
3
star
23

personal-blog

My Personal website and Blog
TypeScript
3
star
24

multicall.solidity

Multicall Smart Contract to help you making requests into the RPC
Solidity
3
star
25

helfen-app

University Pet Finder Application
TypeScript
3
star
26

graphql.boilerplate

Apollo Server 4 with Subscriptions support and Kysely for Postgres SQL Management
TypeScript
3
star
27

vimrc

Simple Neovim Configuration, Including Github Copilot, NERD Tree, Dracula, CoC Completion and much more...
Vim Script
3
star
28

home

TypeScript
2
star
29

react-template-typescript

JavaScript
2
star
30

helfen-server

University Pet Finder Application
TypeScript
2
star
31

LFSCamargo

My landing
2
star
32

react-lifecycle-hooks

A Simple lifecycle abstraction to useEffect to reply lifecycle
JavaScript
2
star
33

react-native-aulao-todos

Aulao de React native
Java
2
star
34

splitfy.app

Application to split bills
Vue
2
star
35

apollo-made-easy-presentation

JavaScript
2
star
36

vue.turborepo

Turbo repo template setup using Typescript and Vue
Vue
2
star
37

flappy.bird

An Open-Source Flappy Bird Clone made using HTML, CSS and Typescript
TypeScript
2
star
38

stackify

TypeScript
1
star
39

react-webpack-ts-boilerplate

Simple Boilerplate with no JS files!
TypeScript
1
star
40

rust-learnings

Rust
1
star
41

timetracker-apollo

TypeScript
1
star
42

elixir-blog-server

Elixir
1
star
43

video-streaming-nodejs

A simple videstreaming backend with nodejs
1
star
44

react-context-user-api-sample

Sample for react-context and api, project patterns
TypeScript
1
star
45

greeting.anchor

Greeting message contract with Solana Rust and Anchor, Made from this article to explain how the solana blockchain works
TypeScript
1
star
46

elixir-studies

Elixir studies!!
Elixir
1
star
47

react-native-redux-saga-boilerplate

React Native + Typescript + Redux Saga Boilerplate
TypeScript
1
star
48

tunnel-playground

A simple playground made for TunnelJS
TypeScript
1
star