Skip to content

Jasmin2895/twilio-support-chat

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Customer Support Chatroom

About

A customer support chatroom designed with the purpose of serving people when they find difficulty in connecting to the nearby stores. This chatroom service can be used by both client and user to easily communicate with each other and get the issues resolved or get the work done more efficiently. Apart from chat if the client wishes to get an update on Call or SMS he can subscribe for the features using the different chatroom actions.

How it works

This application uses Node and Express for server side and React for client side implementation respectively.

Image mage 5

Features

  • Node.js web server using Express.js
  • User interface using ReactJs and Semantic-UI
  • User interface to schdeule calls.
  • User interface schdeule message updates
  • Linting and formatting using ESLint and Prettier
  • Interactive configuration of environment variables upon running npm run setup using configure-env
  • Project specific environment variables using .env files and dotenv-safe by comparing .env.example and .env.

Set up

Requirements

Twilio Account Settings

There are twilio config values required to run the application.

Config Value Description
Account Sid Your primary Twilio account identifier .
Auth Token Used to authenticate ).
Phone number A Twilio phone number
Twiml id A Twiml application id
Chat Service id A Chat application id

Local development

  1. Clone this repository and go inside the folder.
git clone https://github.com/Jasmin2895/twilio-support-chat.git
cd twilio-support-chat
  1. Install dependencies
npm install
  1. Set your environment variables in the config files. Replace the ids in the .env file with values ontained from twilio account.
cp .example.env .env
  1. Run the server side and client side respectively.
node serve.js
npm start

Proxy is used which helps to run the server side will be running on port 3002 and client side on port 3000.

  1. This project uses mongodb so set up mongodb locally and in the file db.js replace username and password with your username and password.

License

MIT

About

A support chat application for online stores who can serve people request in this pandemic.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published