Backend Setup
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.
This Document help you to Setup UCI (Unified Communications Interface) Project and test APIs on your local machine.
- 1.Install Git
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install git
- 1.Install Java 11
$ sudo apt-get install openjdk-11-jdk
$ sudo apt-get install maven
- 1.Install Postgresql
- 1.Fork following repositories
https://github.com/samagra-comms/dao
https://github.com/samagra-comms/utils
https://github.com/samagra-comms/message-rosa
https://github.com/samagra-comms/adapter
https://github.com/samagra-comms/outbound
https://github.com/samagra-comms/orchestrator
https://github.com/samagra-comms/inbound
https://github.com/samagra-comms/transformer
https://github.com/samagra-comms/broadcast-transformer
- 1.Clone all forked repositories
git clone repository-link
- 1.Import all cloned repositories into IDE and checkout to the latest branch Eg. release-4.9.0
- 2.If project is not build by default then build using
$ mvn clean install -U
- 1.
- 2.
- 3.
- 1.Run spring boot application for following projects
- Inbound
- Orchestrator
- Transformer
- Broadcast Transformer
- Outbound
- 2.To debug these service, we should follow the same routine. Click here to check the detailed overview of debugging services.
- 1.Import following files to postman :
- 2.create new enviorment inbound with properties :VariableTypeInitial ValueCurrent ValuebaseUrldefaultlocalhost:8085localhost:8085
- 3.create new enviorment transformer with following properties :VariableTypeInitial ValueCurrent ValuebaseUrldefaultlocalhost:9091localhost:9091
- 1.Test bot APIs with :
Collections
.
└── Samagra Inbound - Apis
└── Bot - Messages
└── ...
Last modified 10mo ago