Day 1: Building a fitness app that actually keeps you motivated
I’m going to post everyday about building an app that I believe can change people’s lives.
I’m nervous because posting everyday seems daunting but it'll help me stop overthinking
Follow along my journey ⬇️ 🧵
So I created my first iOS app that replaces these digital counters/tasbihs with the Apple Watch.
Now you can use your Apple Watch as a counter for different adhkaar.
The Dhikr App is available now on the app store: https://t.co/Qrosk6f539
Ramadan is a month of discipline, reflection, and growth.
This year, I'm doing something different — I'm building a public habit tracker into my personal website to hold myself accountable in real time.
Just deployed the landing page at https://t.co/otJaIUoiGm
Day 10: Building a fitness app that actually keeps you motivated
Users can now stake USDC on fitness goals → funds go directly to our smart contract that acts like an escrow
It took sometime to get this but, in order to transfer USDC you need to approve the transaction before actually doing the transfer:
Using @thirdweb to prepare a contract call to the USDC contract with the 'approve' method and passing my 'escrow' smart contract address & how much i want to transfer as the params
Then you can actually call the prepareContractCall to actually transfer the USDC.
Day 10: Building a fitness app that actually keeps you motivated
Users can now stake USDC on fitness goals → funds go directly to our smart contract that acts like an escrow
It took sometime to get this but, in order to transfer USDC you need to approve the transaction before actually doing the transfer:
Using @thirdweb to prepare a contract call to the USDC contract with the 'approve' method and passing my 'escrow' smart contract address & how much i want to transfer as the params
Then you can actually call the prepareContractCall to actually transfer the USDC.
Day 10: Building a fitness app that actually keeps you motivated
Users can now stake USDC on fitness goals → funds go directly to our smart contract that acts like an escrow
Money stays locked until goal completion
Next up: Apple HealthKit integration to auto-verify step goals!
#Web3Fitness #USDC #HealthTech #base
Day 1: Building a fitness app that actually keeps you motivated
I’m going to post everyday about building an app that I believe can change people’s lives.
I’m nervous because posting everyday seems daunting but it'll help me stop overthinking
Follow along my journey ⬇️ 🧵
Day 9: Building a fitness app that actually keeps you motivated 💪
Major breakthrough today! Fixed the stake calculation system that was causing $0 totals in the database.
The issue? Mixing day names ("Mon", "Tue") with day indices (0-6) + timezone parsing bugs.
Now users' financial commitments are calculated correctly across their selected workout days 📊
Key fixes:
✅ Proper date handling without timezone shifts
✅ Consistent stake calculations in UI vs database
✅ Accurate progress tracking for selected days
When you're dealing with people's money, the math HAS to be perfect 💰
#BuildInPublic #ReactNative #Supabase
@DustinTurska If you have wireframes I’m pretty sure Claude Code can look at those files in your codebase and create UI based on them.
I would probably put those wireframes in your code and prompt Claude code to use them.
You can prompt Claude Code to help you without any wireframes as well
Day 9: Building a fitness app that actually keeps you motivated 💪
Major breakthrough today! Fixed the stake calculation system that was causing $0 totals in the database.
The issue? Mixing day names ("Mon", "Tue") with day indices (0-6) + timezone parsing bugs.
Now users' financial commitments are calculated correctly across their selected workout days 📊
Key fixes:
✅ Proper date handling without timezone shifts
✅ Consistent stake calculations in UI vs database
✅ Accurate progress tracking for selected days
When you're dealing with people's money, the math HAS to be perfect 💰
the exact n8n workflow that's printing viral tweets for me
(and why I'm borderline stupid for sharing this)
most creators are burning 2+ hours daily crafting tweets that flop
meanwhile, I text my Telegram bot and get publication-ready content in 30 seconds
here’s what happens:
→ send message to Telegram bot
→ claude generates hook + full post
→ tweet gets sent automatically
→ ask for iterations if needed
the secret sauce isn't the workflow (that's easy)
It's the prompt engineering behind it
I reverse-engineered how top copywriters structure hooks
and systematized it into one prompt that consistently outputs 6-7 figure level copy
this thing cranks out posts that get:
- 10x more engagement than "normal" tweets - built-in psychological triggers
- perfect formatting for mobile scanning - hooks that stop the scroll dead
most people are still manually writing tweets like it's 2019
smart operators are automating their entire content pipeline
while maintaining quality that puts agencies to shame
the workflow takes 3 minutes to set up
the prompt took me almost 50 iterations to perfect
want the complete system?
Comment "WORKFLOW" + follow + repost and I'll send you everything
the prompt alone is worth more than most $497 courses
Day 8: Building a fitness app that actually keeps you motivated
Decided to move away from React Native's Async Storage and save users' goal data in Supabase.
Main reason for this is analytics and being able to help users trouble shoot if anything comes up.