Coding a Workout App from Scratch - #1 Initial Setup

February 23, 2022

Let's code a workout app from scratch. Why? Watch the video and find out.

Source code is available at: https://github.com/pagekeysolutions/pfl

Timestamps

  • 0:00 The idea and why bother?
  • 1:22 Today's progress
  • 3:36 Existing Python scripts/data

Summary

Here's a quick recap on what I did to get this far. It's not much!

  1. Generate a new flutter project.
flutter create
  1. Update the application ID, which must be unique

    • Ctl-Shift-F to search the entire project in Android Studio
    • Find instances of
      com.example
    • Replace with
      com.pagekeysolutions
  2. Start getting Google API set up

    • I followed (part of) this article: https://betterprogramming.pub/the-minimum-guide-for-using-google-drive-api-with-flutter-9207e4cb05ba
    • Most of the work for this video was setting up Firebase. Just follow this article for this.
    • I was able to get "Login with Google" working on Android (though there were some warnings about it not being a verified app - we can worry about this later)
  3. I set up the repo, made it public, and made a video.

If you're trying to re-create my results exactly, note that I committed the "Initial commit" directly after running

flutter create
. Hopefully this makes my changes easier to follow.