Team: Colonel Jack
What problem does this app solve? There are many variables potential lenders consider before providing a microloan through Kiva. Use stargate-kiva to visualize which countries have an abundance or lack of funding. This option helps you see the loan differences and details of those loans so you can best choose how you want to help small business owners throughout the world.
Why is this app so cool? Using a heat map, you can visualize changes in real time to see where Kiva loans are being requested and provided. You can actively engage with the loan process, which changes the lives of small business owners without access to traditional lending services.
Members:
- Jeff Banks
- Jamie Gillenwater
- Dan Jatnieks
- Gianluca Righetto
Bugs Filed:
- Clone the stargate-kiva repo:
git clone git@github.com:jeffbanks/stargate-kiva.git
- Go to the UI folder:
cd <github>/stargate-kiva/ui
- Create a file for the required environmental variables:
nano .env
- Add the following text to your
.env
file:
REACT_APP_STARGATE_USERNAME=kiva
REACT_APP_STARGATE_PASSWORD=kiva123
REACT_APP_ASTRA_KEYSPACE=kiva
REACT_APP_ASTRA_DB_ID=<DATABASE-ID>
REACT_APP_ASTRA_DB_REGION=<ASTRA-REGION>
REACT_APP_TOKEN=<YOUR-TOKEN>
REACT_APP_MAPBOX_KEY=<YOUR-KEY>
REACT_APP_ASTRA_COLLECTION=loans
- Install npm.
npm install
- Install the application.
npm start
- Open the application locally at http://localhost:3000/.
There are tests available to verify various Stargate API operations used by the stargate-kiva.
npm test
View the test cases here.