Cat Health and Activity Tracker: An Interactive Tool for Monitoring and Improving Cat Wellness
Develop an interactive web-based application that helps cat owners track their cats' health, activity levels, and routines. The tool will provide insights into cat wellness, suggest activities and diets, schedule vaccinations and treatments, track grooming and dental care, and help optimize cat energy levels and sleep routines.
- What factors contribute to cat health and wellness?
- How can cat owners improve their cats' activity levels and diets?
- How do different feeding schedules (routine feeding vs. food always available) impact cat health?
- What trends can be identified in cat health and activity over time?
- How do grooming habits and routine care affect the overall wellness of cats?
- How can feeding routines and activity levels be optimized to improve cats' energy levels and sleep patterns?
- Activity Impact Hypothesis: Increased activity levels lead to improved cat health and wellness.
- Diet Improvement Hypothesis: Optimized diets contribute to better health metrics in cats.
- Health Tracking Hypothesis: Regular tracking of health metrics helps in early detection and prevention of health issues.
- Routine Care Hypothesis: Regular vaccinations, anti-parasitic treatments, grooming, and dental care contribute to overall cat wellness.
- Sleep Optimization Hypothesis: Proper feeding routines and activity levels help regulate cat energy levels and improve sleep patterns, aligning better with the owner's sleep schedule.
Sources:
- User-Contributed Data: Collect data from cat owners via online surveys and forms.
- Example Data Points:
- Daily Activity Levels
- Diet and Nutrition Information
- Health Metrics
- Routine Care
- Sleep Patterns
- Awareness Questions
- Standardize Data Formats
- Handle Missing Values
- Verify Data Accuracy
- Exploratory Data Analysis (EDA)
- Comparative Analysis
- Correlation Analysis
- Hypothesis Testing
- Connect to Dataset
- Create Dashboards
Interactive Web Application: based on the analysis and findings from the survey results, the Cat Health and Activity Tracker app can provide the following recommendations to cat owners:
- Promote Routine Feeding:
- Encourage routine feeding schedules to improve sleep quality and overall health. Highlight the significant difference in sleep quality between routine feeding and free feeding schedules.
- Increase Activity Levels:
- Suggest various activities to increase playtime and engagement, improving health and wellness. Emphasize the weak positive correlation between activity duration and sleep quality.
- Educate on Grooming and Health Care:
- Provide information on the importance of regular grooming, dental care, and other health measures. Highlight the moderate positive correlation between grooming frequency and sleep quality.
- Highlight Importance of Diverse Diets:
- Promote a variety of food types in routine feeding schedules for better nutrition. Emphasize the benefits of diverse diets compared to predominantly dry food in free feeding.
- Raise Awareness:
- Include educational content on the importance of teeth cleaning, shedding management, ear and eye care, playtime, and hairball prevention. Address the lack of awareness regarding these aspects among cat owners.
- Track and Monitor:
- Offer tools to track and monitor health metrics, activity levels, and routines to detect and prevent potential health issues early. Provide visualizations and alerts for upcoming vaccinations, treatments, and grooming schedules.
By implementing these features, the app can significantly enhance the well-being of cats and provide valuable support to cat owners.
- Frontend:
- Built with React.js.
- Interactive user interface to input and visualize data.
- Backend:
- Built with Django and Django REST framework.
- PostgreSQL database to store collected data.
- Features:
- Data Input: Forms for users to input data about their cats' health, activity, diet, and routines.
- Recommendations: Provide personalized recommendations based on collected data.
- Visualizations: Charts and graphs to track cat wellness metrics.
- Notification Symbol: Alert symbol for unread recommendations.
Cat-Health-Tracker/ │ ├── .gitignore ├── README.md ├── requirements.txt ├── secrets.env │ ├── notebooks/ │ ├── Analysis_Survey.ipynb │ ├── Cleaning_Surveys.ipynb │ ├── data/ │ ├── cleaned_cat_survey_results.csv │ ├── reshaped_data.csv │ ├── survey_results_raw.csv │ ├── documents/ │ ├── Detailed Analysis and Interpretations.docx │ ├── tableau-surveys.twbx │ ├── backend/ │ ├── manage.py │ ├── media/ │ │ ├── photos/ │ │ ├── cat_photos/ │ │ ├── backg2.jpg │ │ ├── other_uploaded_files/ │ ├── health/ │ │ ├── migrations/ │ │ │ └── init.py │ │ ├── init.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── tests.py │ │ ├── urls.py │ │ ├── views.py │ │ ├── utils.py │ ├── backend/ │ │ ├── pycache/ │ │ ├── init.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── wsgi.py │ ├── frontend/ │ ├── public/ │ │ ├── index.html │ │ ├── favicon.ico │ ├── src/ │ │ ├── AddCatProfile.js │ │ ├── AddHealthRecord.js │ │ ├── api.js │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── background.jpg │ │ ├── CatCalendar.js │ │ ├── CatProfile.css │ │ ├── CatProfile.js │ │ ├── FeedingRecords.css │ │ ├── FeedingRecords.js │ │ ├── HairballRecords.css │ │ ├── HairballRecords.js │ │ ├── HealthRecords.css │ │ ├── HealthRecords.js │ │ ├── HealthTrends.css │ │ ├── HealthTrends.js │ │ ├── Home.css │ │ ├── Home.js │ │ ├── index.css │ │ ├── index.js │ │ ├── InteractionRecords.css │ │ ├── InteractionRecords.js │ │ ├── Login.css │ │ ├── Login.js │ │ ├── logo.svg │ │ ├── Recommendations.css │ │ ├── Recommendations.js │ │ ├── Register.js │ │ ├── reportWebVitals.js │ │ ├── Resources.css │ │ ├── Resources.js │ │ ├── setupTests.js │ │ ├── styles.css
- Python 3.8+
- Node.js 14+
- PostgreSQL
- Clone the repository:
git clone https://github.com/yourusername/Cat-Health-Tracker.git
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\\Scripts\\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required Python packages:
pip install -r requirements.txt
-
Set up the PostgreSQL database and update the
backend/settings.pyfile with your database credentials:DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': '<your_database_name>', 'USER': '<your_database_user>', 'PASSWORD': '<your_database_password>', 'HOST': 'localhost', 'PORT': '5432', } }
-
Run the migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Navigate to the
frontenddirectory:cd frontend -
Install the required Node.js packages:
npm install
-
Start the development server:
npm start
Create a secrets.env file in the root directory and add your environment variables. For example:
SECRET_KEY=<your_django_secret_key>
DEBUG=True
DATABASE_URL=postgres://<your_database_user>:<your_database_password>@localhost:5432/<your_database_name>
- Access the web application via the browser.
- Input data related to cat health and activity.
- View interactive dashboards and receive recommendations.
- Implement real-time notifications for upcoming events, vaccinations, and treatments.
- Expand metrics to include hydration levels, litter box usage, and behavioral patterns.
- Improve the user interface for better accessibility and mobile responsiveness.
Feel free to submit issues and pull requests.
This project is an academic exercise and does not include a formal license.
- Special thanks to the Ironhack team for their support and guidance.
- Thanks to the cat owners who contributed data for this project.