A series of push notifications to build habit

This is for building habits (routines).

For example, this is my morning routine, and the first job - Take a shower in this case - is the trigger.

When you done the first job, then you will get a push notification to your smartphone in 15 minutes saying β€œit’s time for Workout πŸ‹οΈβ€. And it will repeat until it ends.

Screen Shot 2022-01-12 at 6.13.03 PM.png

Tech Stack

πŸ”₯ Firebase for database, functions and authentication, and push notifications

βš›οΈ React

πŸ“± Capacitor - convert React app to mobile app

πŸͺ„ Chakra UI

How to send push notifications?

I set a cron job that gets called every minute on Firebase cloud functions.

You can browse the source code here πŸ‘

habitter-functions/index.ts at main Β· taishikato/habitter-functions

Build in Public

I try to build this app in public as much as I can πŸ˜„

taishikk - Twitch

Links

Habitter | Makerlog