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
White Gold or Platinum: Choosing the Right Metal for Your Jewelry
When it comes to fine jewelry, choosing the right metal is just as important as selecting the perfect stone. Among...
The Insider Story of Lab Diamonds: Why Lab-Made Diamonds Are Better
In the realm of diamonds, a revolution is underway, quietly reshaping the landscape of luxury and sustainability. It's the rise...
Unlocking the Mysteries of the Kimberley Process: A Comprehensive Guide
Introduction In a world where ethical sourcing and transparency are becoming increasingly important, the Kimberley Process stands as a beacon...
The Many Advantages A Web Based Football Betting Platform Brings
Seeing this intense and habitual need to bet, many betters have invested setting up online football betting platforms that allow...
3 Major Advantages Associated With Online Football Betting Sites
Sports and games football betting is the most popular of all pastimes and has been the most preferred hobby of...