Setup for the app

  1. Switch to api directory - cd api
  2. Create a Virtual Environment - python3 -m venv venv
  3. Activate the Virtual Environment - source venv/bin/activate (source venv/bin/activate.fish if you are using fish)
  4. Create .flaskenv file with relevant info - echo -en "FLASK_APP=api.py\nFLASK_ENV=development" >.flaskenv

Running the app

  1. Run yarn start-api in a new terminal.
  2. Run yarn start in one terminal