Skip to content

nessieisreal/api-demo-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Demo App for Harvard HCS Bootcamp

A simple banking dashboard showing a user's accounts and transfers. It also allows users to create new transfers. This app demonstrates basic usage of APIs in a Python Flask application. Makes use of the Nessie API for all data.

For step-by-step implementation instructions, see the Wiki.

Requirements

Installation

  1. Clone the project.

    git clone https://github.com/nessieisreal/api-demo-starter.git
    
  2. Navigate to the root of the project and create a file config.py.

  3. Open the file you just created (config.py) and add your Nessie API key as a variable.

    API_KEY = "my_api_key"
    

    Retrieve your API key by creating an account at http://api.reimaginebanking.com.

  4. Install required packages.

    pip install -r requirements.txt
    

If you run into errors with this command, try upgrading Pip.

  • Mac
    pip install -U pip
    
  • Windows
    python -m pip install -U pip
    

Also, using sudo in front of these commands may solve some issues.

Running the Application

Navigate to the root of the project and run:

python run.py

Navigate to localhost:5000 to view the dashboard.

Starter App

Once completed, the application should look like this:

Finished Home Screen

Finished Transfer List

About

Starter code for the API Demo app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published