You are browsing as a guest. Sign up (or log in) to start making projects!

Smart CLI Habit Tracker

  • 1 Devlogs
  • 0 Total hours
Open comments for this post

24m logged

Habit Tracker — Devlog #1Today I started building the backend for my habit tracker.I’m currently working on the database system using Python and SQLite. I created a database called habits.db where the app will store habits and their completion history.I also started building the database class to handle things like adding habits and logging when a habit is completed. The database uses two main concepts: habits and completion logs. Each completion log is connected to a specific habit using a foreign key.I also added a rule to prevent the same habit from being marked as completed multiple times on the same day.Right now, I’m working on the log_habit() function. Once that is finished, I’ll move on to retrieving the data and calculating things like streaks and progress.Next up: Finish the habit logging system and start connecting the backend to the user interface.

0
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…