An open API service indexing awesome lists of open source software.

https://github.com/ridika-2004/hydration-tracker

A simple and effective hydration system to track water intake, set goals, and get reminders!
https://github.com/ridika-2004/hydration-tracker

clean-code console-application filesystem hydration java

Last synced: 3 months ago
JSON representation

A simple and effective hydration system to track water intake, set goals, and get reminders!

Awesome Lists containing this project

README

          


$\Huge\textnormal{\color{aqua}Hydration Tracker}$

$$\textnormal{\color{red}(I heard you don't drink enough water!)}$$

![Java](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white)
![OOP](https://img.shields.io/badge/Object--Oriented%20Programming-%2300A896?style=for-the-badge)
![GitHub](https://img.shields.io/badge/Version%20Control-GitHub-orange?style=for-the-badge&logo=github)
![Role-Based Access](https://img.shields.io/badge/Access%20Control-Role--Based-%23008CBA?style=for-the-badge)
![Project Status](https://img.shields.io/badge/Project-Active-green?style=for-the-badge)


$$\textnormal{A simple and effective hydration system to track water intake, set goals, and get reminders!}$$


App Screenshot


$\textnormal{\color{gold}{FILE STRUCTURE}}$





```
src/
├── About/
│ ├── About.java
│ └── WaterIntakeChart.java

├── Codes/
│ ├── Feedback.java
│ ├── FileManager.java
│ ├── Graph.java
│ ├── PrintManager.java
│ ├── Reminder.java
│ ├── Tracker.java
│ ├── User.java
│ └── UserDataIndex.java

├── Dashboard/
│ ├── AdminDashboard.java
│ ├── UserDashboard.java
│ └── UserSession.java

├── Interfaces/
│ ├── IFileManager.java
│ ├── IPrintManager.java
│ └── ITracker.java

├── Utils/
│ ├── Color.java
│ ├── MyFileUtils.java
│ └── MyGeneralUtils.java

├── Txt_Files/
│ ├── feedback.txt
│ └── water_stats.txt

├── Sound/
│ └── reminder.wav

├── App/
│ └── App.java
```


$\textnormal{\color{aquamarine}{INSTALLATION}}$


1. Clone the repository:
```diff
git clone https://github.com/ridika-2004/Hydration-Tracker.git
```

2. Compile the Java files:
```diff
javac -d bin src/**/*.java
```

3. Run the application:
```diff
java -cp bin App.App
```

$\textnormal{\color{greenyellow}{FEATURES}}$

License


    Role-based login without authentication.


    Users can set water goal and see progress bar along with their history.


    Receive hydration reminder and send feedback to the admin.


    Admins can view feedbacks and login details.


    Colored console.


$\textnormal{\color{orange}{TECH\ STACK}}$



    Java (Object-Oriented Programming).


    Java I/O for file handling.


    Plain Text files for data storage.


    ASCII and Unicode characters for console UI.


$\textnormal{\color{cyan}{HOW\ TO\ USE}}$



    Set your role as admin or user.


    Set your hydration goal and track daily intake.


    Receive reminder alerts during the day.


    View progress charts and submit feedback.


    As admin view all logins and feedbacks.


$\textnormal{\color{red}{LICENSE}}$


License

${This\ project\ is\ licensed\ under\ the \ {\color{red}MIT}}\ License$