Inspiration
I needed a very simple and direct tool to track key macro nutrients of food and my fluid intake. I was not ready yet to sign up for a third-party service or pay for it. I just wanted to put something together quickly so that I could use it right away.
What it does
The site does exactly what it says in the inspiration. There are ways to track fluid intake quickly, and log food. For food I can track protein, calcium, sugar, calories, fat, carbohydrates, and fiber. The main page shows a daily progress dashboard with progress bars to see how I am tracking against my goals. There's a very simple admin screen to set up the daily goals as they may change throughout my journey.
How we built it
The site was built exclusively with Codex (and mostly through the mobile app). I selected JavaScript without any major frameworks for this MVP version. As a seasoned developer, I did not want to incorporate a framework into the MVP for the time being to keep it simple. I use this opportunity to try the ChatGPT Sites functionality for the first time, having already had experience using Cloudflare for deployments in the past.
Challenges we ran into
Surprisingly, there were no significant challenges that I ran into, except for actually thinking through the idea and figuring out what features I truly needed to get started. The stepwise skills provided by DevPost followed a very logical progression of the development process.
Accomplishments that we're proud of
I'm happy to get to try a new development workflow based on skills, having used frameworks like superpowers in the past. I also was happy to use this hackathon as a way to try out the ChatGPT Sites.
What we learned
I already had a lot of experience with some of the other prompting frameworks for building and developing apps and enhancements. What I liked about this was the interview process to drill down on requirements and technical decisions. That's something that I will definitely add into my workflows in the future.
What's next for Simple Food/Water Tracker
There are lots of features to add to this application, several of which I purposely did not tackle in the MVP.
- Barcode scanning to look up items in a food database (or at least to make it easier to log repeated foods
- Image recognition to take a picture of a plate of food and estimate the contents and macros
- Operationalize it to store the logged items in a durable store (not just in the browser)
- Shortcuts to log common and frequently eaten foods
Built With
- javascript
- sites
