This is a backend for white-label SMS platform using fastAPI. Internal call from frontend.
apt install cpanminus apt install libpq-dev
perl module DBI perl -MCPAN -e 'install Bundle::DBI' cpanm install DBD::Pg
- postgresql
- redis-server
/etc/systemd/system/httpapi.service
-
set up virtual environment python3 -m venv venv source venv/bin/activate
-
update pip easy_install -U pip
-
install dependencies pip install -r requirements.txt
-
create .config, sample: [redis] host=localhost port=6379
[postgresql] host=localhost port=5432 db=database name user=database user password=xxxxx
[provider_api_credential] provider_name=api_key---api_secret