samagra-comms / uci-web-channel

Web channel for UCI
https://uci-web-channel-prod.vercel.app/#/
11 stars 50 forks source link
typescript

Unified Communication Interface

About UCI :open_book:

The Unified Communications Interface (UCI) aims to democratize the use of different communication channels such as WhatsApp, Telegram, SMS, email and more for governance use cases through a standard configurable manner that is reusable and scalable across all governance use cases.

Features :dart:

Requirements :scroll:

NodeJS and NPM or yarn

Installation :walking:

1. Fork it :fork_and_knife:

You can get your own fork/copy of UCI by using the Fork button.

2. Clone it :busts_in_silhouette:

You need to clone (download) it to a local machine using

git clone https://github.com/Your_Username/uci-web-channel.git

This makes a local copy of the repository in your machine. Once you have cloned the uci-web-channel repository in GitHub, move to that folder first using the change directory command.

# This will change directory to a folder uci-web-channel
cd uci-web-channel

Move to this folder for all other commands.

3. Set it up :arrow_up:

Run the following commands to see that your local copy has a reference to your forked remote repository in GitHub :octocat:

git remote -v
origin  https://github.com/Your_Username/uci-web-channel.git (fetch)
origin  https://github.com/Your_Username/uci-web-channel.git (push)

4. Create a new .env file and copy contents from .env.sample :open_file_folder:

cp .env.sample .env

The websocket connection URL for the plaground can be used for testing - wss://comms-playground.samagra.io for the REACT_APP_TRANSPORT_SOCKET_URL.

5. Run it :checkered_flag:

Run npm run dev

Designs

Below are the designs of how output screens will look like. For more detailed view you can checkout the Figma file. Designs

Contributing

We really like contributions in several forms, see CONTRIBUTING.md