GithubHelp home page GithubHelp logo

usfza / habit-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 445 KB

Django Habit Tracker is a web application for habit tracking and goal monitoring.

Python 62.42% CSS 3.91% HTML 33.67%
django-project habit-tracking mysql-database

habit-tracker's Introduction

Django Habit Tracker

Django Habit Tracker is a web application designed to help users track their habits, manage tasks, and monitor progress towards their goals. This README provides an overview of the project's features, installation instructions, usage guidelines.

Installation

To install and run Django Habit Tracker locally, follow these steps:

  1. clone the repository
git clone https://github.com/UsfZA/Habit-Tracker.git
cd Habit-Tracker
  1. Install dependencies:
pip install -r requirements.txt
  1. Database configuration

I'm using MySQL as the database, so I've included mysqlclient in the requirements. If you don't have MySQL installed, you can use the built-in SQLite configuration. Follow these steps:

  • Ensure you have SQLite installed on your system.
  • Comment out the MySQL configuration in the 'local_settings.py' file.
  • Copy the 'local_settings.example.py' file and rename it to local_settings.py.
  • Update the database configuration in 'local_settings.py' with your own database credentials.
  1. Apply database migrations:
python manage.py migrate
  1. Run the development server:
python manage.py runserver
  1. Access the application in your web browser at http://localhost:8000

Features

User Authentication and Registration:

  • Users can create accounts and log in to track their habits.

Habit Tracking:

  • Add, and delete habits.
  • Tasks are automatically generated based on habit goal, frequency and period.
  • Track streaks for each habit to maintain consistency.
  • Earn achievements for hitting streak milestones or completing habits.

Analytics:

  • View detailed analytics on habit tracking, including active habits, streak lengths, and progress towards goals.
  • Visualize habit data to gain insights into behavior patterns.

User Profile:

  • Users have personalized profiles displaying their active habits and other relevant information.

Usage

Once the application is running, you can perform the following actions:

Register/Login:

  • Create an account or log in with existing credentials.

Add Habits:

  • Navigate to the "Add Habit" page and input details such as habit name, frequency, period, and goal.

View and Mark tasks as completed In Home page:

  • View due today tasks and active tasks.
  • Mark tasks as completed by clicking on them.

Monitor Progress:

  • Check your analytics regularly to monitor streak lengths, progress percentages, and achievements.

Habit Manager:

  • Navigate to the "Habit Manager" :
    • View all tracked habits and access their details including tasks journal and streak log for each habit
    • Delete habits along with associated tasks, streaks, and achievements.

habit-tracker's People

Contributors

usfza avatar

Stargazers

mohammad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.