Projects

Gym Attendance App

Blue background with Google Apps Script and React JS logos

I stumbled upon Google Apps Script (GAS) while working on a Google spreadsheet. Upon first glance, it seemed just an option for writing custom functions, but then I started reading more of the documentation and discovered it was so much more than that. What got my attention was publishing a project as a web app or API endpoint and getting easy access to a bunch of Google product API's. The first GAS web app I wrote handles the contact form posts for this static website using the Spreadsheet and Gmail APIs. This first small web app had me wanting to explore other ideas, and a few days ago, I found some inspiration at my gym.

Inspiration

Every day when I walk into the gym, I sign my name on an attendance sheet along with my membership number and the class I plan to attend. Almost all gyms use an attendance tracking method, and many gym/yoga studio SaaS companies offer this as a product. This attendance sheet can then become a database table to run some business analytics queries, like average class attendance, and daily active members, for example.

App Details

To build my gym attendance app, I used ReactJS to manage the UI and state. The app uses three Google products via their API's to fetch and write data. Google Calendar is used to fetch a calendar of gym classes and display them within a two-hour window. Building the class schedule is very easy, and also adds the ability for future features like filtering classes based on members' level/account, etc. Next, Google Drive is used to fetch some images used in the UI, such as the gym logo and member photos. And finally, Google Sheets keeps all the data (members list and attendance log). The attendance log can be used to run queries or visualize the data to help the gym owners/managers make decisions based on this data.

Conclusion

All of my code and files are available to view and use on my GitHub project. I enjoyed building this project and plan on adding some other features and apps to build upon it soon. Let me know what you think of this project or if you have some ideas of how I can make it better in the discussion section below.

Video Demo

Edward & Ali Meehan
Edward & Ali Meehan

I'm from the small town of Hilo on the Big Island of Hawaii. I currently live in San Diego with my gorgeous wife Ali. I enjoy road trips, surfing, jiu-jitsu and boxing.

Design & illustrations by me. Fonts provided by Google, Icons provided by FontAwesome, Backgrounds provided by SVGBackgrounds

Contact Me

If you prefer to call you can leave a voicemail at 1-858-876-8088, because of robo-calls I no longer answer unknown numbers.