How to represent weekly frequency in express/sql db
I am trying to build a habit tracker app like this one, https://tryconfetti.io, but I am struggling to figure out how to do the weekly frequency. For example, if I want to workout Monday, Wednesday, Thursday and Saturday, how do I store that in a database? If it was a range of days like Airbnb does it, for example Monday-Wednesday, I could do a starting_day and ending_day and use DateTime, but in this case it could be multiple dates and that’s why I am a bit lost.
To summarize, what I want is sort of a weekly dot chart where users can mark off the days they have completed the habit. Any help would be appreciated. Thanks in advanced!
More Stories
Current Romance Redefined: Why Oval Engagement jewelry with Lab Grown Diamonds Are the future of quality jewelry
The upward thrust of contemporary Love Symbols In today’s international, couples are redefining traditions to suit their values, life-style, and...
halo engagement ring and lab diamonds: A Complete Guide to Style, Value, and Modern Choices
Choosing an engagement ring is one of the most meaningful decisions in a couple’s journey. The ring represents commitment, personality,...
Park Adventures With Variety Of Automotive Rides
As more and more people around the world wonder where these crazy events come from, adventure tourism in Sydney is...
The Joy of Tapping In: Quick Digital Escapes That Actually Work
We’ve all felt it—that mental fog after a long stretch of work, the sluggishness that hits mid-afternoon, or the creeping...
The Timeless Appeal of Round Engagement Rings
When it comes to choosing the perfect engagement ring, one shape continues to stand the test of time: the round...
A Brilliant Beginning: Novita NZ Lab Diamonds Story and the Rise of Lab Made Diamonds
The Spark of a Vision in New Zealand The Novita NZ lab diamonds story begins with a passion for redefining...
