Story of verser ⏳
Thu May 13 2021
What is Verser?
Verser is a prototype payment app primarily based on transaction validation at both the sender's and reciver's end.
Why Verser?
The traditional model of online payments only requires the bank account number or mobile number linked to the bank of the receiver to make payments and the receiver does not have any control over the incoming payments, this can cause unwanted trouble as undesired money is not always for good. This app tries to solve the exact problem and making transactions more controlled.
Stack used
- Front-end
- Back-end
Project setup
-
After cloning the repo create a firebase app and select it as a web app, this would generate a config file something like this :
-
Copy the config variables and create a '.env' file in the root of the project based on the '.env.sample' present in the repo.
-
For the firebase admin SDK download a private key by following the below instuctions
-
In the Firebase console, open Settings > Service Accounts.
-
Click Generate New Private Key, then confirm by clicking Generate Key.
-
Securely store the JSON file containing the key in the functions directory and rename it as service-account.json
-
Install dependencies
npm install
Start a local dev server with hot-reload
ntl dev
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint