simple group chat with auth using GetStream.io and Twilio
1-Clone the project
git clone https://github.com/nasaomar165/TechChat.git
2-Go to the project directory
cd TechChat
3-Go to the server directory
cd server
4- Install dependencies in server
npm install
5- Go to the client folder
cd ./client
6- Install dependencies in client
npm install
7- Start the client react project
npm run start
8- Come back to server
cd ./server
9- Start Server using node or nodemon
node index.js
or
nodemon index.js
To run this project, you will need to add the following environment variables to your server/.env file
PORT
start using 5000
this app using getStream.io to start your free trial signup here :https://getstream.io/chat/
STREAM_APP_ID
STREAM_API_KEY
STREAM_API_SECRET
this app is using twilio to send sms to phone number signup here : https://www.twilio.com/
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
TWILIO_MESSAGING_SERVICE_SID
Add all these Variables to server/.env
file