Skip to content

1st prize winner of the StepZen 2022 GraphQL Hackathon

Notifications You must be signed in to change notification settings

stepzen-dev/hackathon-kid-vault

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome To Kid Vault

ABOUT

This StepZen GraphQL API serves as the middle layer for the Kid Vault app, which was built as part of the StepZen GraphQL Challenge 2022.

The front-end and back-end code repositories can be viewed here:

The deployed version of the Flask back-end with a mock Postgres database is viewable here:

NOTE: Heroku often takes some time to wake up! Don't forget to give it a minute.

The deployed version of our app is viewable here:


INSTALLATION

To install this repository on your computer, please follow these instructions:

Installing StepZen

If you haven't already, be sure to sign up for and install StepZen.

Detailed StepZen installation instructions are available here.

Running this STEPZEN API

  1. Register for COVID Act Now to get your API key.

  2. Setup your Flask Back-end with your Postgres database.

    • You can choose to seed with our mock data .csv file or add your own, but you'll need our schemas/tables for this API to function properly!
  3. Create .env file with:

STEPZEN_COVID_API_KEY=[YOUR_API_KEY_HERE]
  1. Create config.yaml file with:
configurationset:
  - configuration:
      name: postgresql_config
      uri: [YOUR_POSTGRES_DB_URI_INFO_HERE]
  - configuration:
      name: covid_api_config
      apiKey: STEPZEN_COVID_API_KEY

NOTE: Don't forget to add the config.yaml and .env to a .gitignore file!

  1. Run stepzen:
$ stepzen start
  1. Check your terminal for the localhost:5001 address to enter the playground for the API!

WOOHOO!

You Made It! Enjoy and please contact @melawong and @anita-lee with any issues or questions.

About

1st prize winner of the StepZen 2022 GraphQL Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published