Skip to content

oransimhony/yaca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

yaca

⌨️ Yet Another Chat App πŸ“±

A small chat app built with React Native, Expo, Pusher Chatkit and Gifted Chat.

Installation πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Clone the repo

git clone https://github.com/oransimhony/yaca.git

Change directory

cd yaca

Running πŸš€

Adding config files βš™οΈ

You need to add two files: config.json in yaca-app/screens/ and variables.env in yaca-server/.

I will work you through the files' structure right now.

variables.env πŸ“„

PORT=5000
CHATKIT_INSTANCE_LOCATOR=XX:XXX:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
CHATKIT_SECRET_KEY=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

PORT: The port in which the server will run, if you change this remember to change it in the app as well.

CHATKIT_INSTACE_LOCATOR and CHATKIT_SECRET_KEY: Insert the according values from your Pusher Chatkit Dashboard

config.json πŸ“„

{
  "CHATKIT_INSTANCE_LOCATOR": "XX:XXX:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "ip": "XXX.XXX.XXX.XXX"
}

CHATKIT_INSTACE_LOCATOR: Insert the according value from your Pusher Chatkit Dashboard

ip: Insert the ip in which your server runs, don't include the port just the ip

REMEMBER TO PLACE THE FILES IN THE CORRECT LOCATIONS OR THIS WILL NOT WORK

Running the app

Enter the app directory

cd yaca-app

Install the dependencies using your preferred manager

npm install
yarn install

Start the project using your preferred manager

npm start
yarn start

Running the server

Enter the server directory

cd yaca-server

Install the dependencies using your preferred manager

npm install
yarn install

Start the project using your preferred manager

npm start
yarn start

And now you are ready to go! πŸ”₯

Enjoy πŸŽ‰

About

⌨️ Yet another chat app πŸ“±

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •