Betsushi
Betsu (別), the japanese word meaning "another" and Shiharai (支払い) meaning "payment". Hence the name Betsushi was derived.
Introduction
This is the backend for Indi>Pe a submission for FTX Hackathon'21, an application that can provide Indian UPI (Unified Payments Interface) to the people of foreign nationality.
Team members:
Aayush Dongre (dankre#7878) Anurag Patil (source#5843) Ayush Singh (epinephrine69#4257) Kunal Sharma (kunal#4839)
Technologies used:
- PostgreSQL for the database
- Docker to containerize the application for easy deployments
- Python as the programming language of choice
- Starlette, the library used to build the REST and the websocket services
- Firebase Admin to authorize the user, which was authorized by the client.
Razorpay services used:
- RazorpayX Payouts
- Razorpay Smart Collect
- Razorpay International payment Gateway
Deployment
Prerequisites:
- Should have created a Firebase Project
- A valid docker installation
- Rename the file
.env.exampleto.envand populate the file with valid values. - Change the following values in the
docker-compose.yamlfile to their respective valid values:GOOGLE_APPLICATION_CREDENTIALSenv variable in the serviceappto the correct path of theservice-accountjson file- Proper values for environment variables in the service
postgres
- Spin up the containers
This will install all the necessary dependencies required for the python server as well as start a postgresql instance
sudo docker-compose up --build -d
- Make a database called
indipein the postgresql instance and run the initial schema migrations fromschema/init.sql - Voila! You are ready to go!


