Skip to content

DataWorker2001/Habit-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Habit Tracking App

Welcome to the Habit Tracking Web App created using React! This web application allows users to track their daily and weekly habits. Developed using React, it provides an intuitive interface for managing habits and monitoring progress.

image

Table of Contents

Features

  • Add new habits to track.
  • Delete existing habits.
  • Track daily activities for each habit.
  • View a table of activities for the last seven days by means of Activity Table.
  • Persistent storage using browser's local storage.

Folder Structure

The project's folder structure is organized as follows:

habit-tracking-app/
├──.firebase
├── README.md
├── node_modules/
├── package.json
├── package-lock.json
├── public/
│ ├── index.html
│ └── favicon.ico
│ ├── android-chrome-192x192
│ ├── android-chrome-512X512
│ ├── favicon-16X16
│ ├── favicon-32X32
│ ├── manifest
│ ├── robots
│ ├── site.webmanifest
└── src/
├── App.js
├── index.js
├── styles.css
├── .firebasesrc
├──.gitignore
├──firebase

Getting Started

To get a local copy of this project up and running, follow these steps:

  1. Clone the repository:

    git clone https://github.com/DataWorker2001/Habit-Tracker
    
  2. Change to the project's directory:

    cd habit-tracking-app
  3. Install the dependencies:

    npm install
  4. Start the development server by typing the following command in the terminal:

    npm start
  5. The default web browser will open and we can see the app running on http://localhost:3000.

Usage

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

  1. Add a new habit to track by entering it in the input field and clicking the "Add Habit To Track" button.
  2. Delete an existing habit by clicking the "Delete" button next to the habit.
  3. Track the status of each habit's daily activities using the drop-down menus in the activity table.
  4. View a table that displays the activities for the last seven days.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.