Skip to content

jplip/self-care-flask

Repository files navigation

Self-Care Project Backend

Welcome to the backend repository for the Self-Care Project! This repository serves as the backend server for handling APIs and data management for the Self-Care Project.

GitHub link: Self-Care Project Backend

Getting Started

Follow these steps to set up the backend server:

  1. Clone the repository:

    git clone https://github.com/your-username/self-care-project-backend.git
  2. Navigate to the project directory:

    cd self-care-project-backend
  3. Install Python and dependencies:

    pip install -r requirements.txt
  4. Run the Flask server:

    python main.py
  5. Access the APIs locally at http://127.0.0.1:8010/.

Idea

The Self-Care Project Backend serves as the backend piece of the Self-Care Project Full-Stack application. It provides APIs for managing data related to personal diary entries, sleep and exercise tracking, therapy locations, recipes, inspirational quotes, and machine learning predictors for stroke risk, depression likelihood, and Titanic survival predictions.

Features

  • Personal Diary: API endpoints for journaling thoughts, feelings, and experiences.

  • Sleep and Exercise Tracker: APIs for monitoring sleep patterns and exercise routines.

  • Nearby Therapy Locations: APIs to find nearby therapy locations and mental health resources.

  • Recipe Repository: APIs for exploring and adding recipes to the repository.

  • Inspirational Quotes: APIs for accessing a collection of inspirational quotes.

  • Machine Learning Predictors: Endpoints for utilizing machine learning predictors for health insights.

Files and Directories

  • README.md: Instructions for setting up and running the backend server.

  • requirements.txt: Lists dependencies required for the Flask server.

  • main.py: Entry point for running the Flask server.

  • api: Directory containing code for handling API endpoints.

  • model: Directory containing backend functionality implementation.

  • templates: Directory containing Jinja2 templates for rendering HTML pages (if applicable).

  • projects: Directory for setting up routes to static HTML pages (if applicable).

  • .gitignore: Specifies elements to be excluded from version control.

Contributing

Contributions to improve the Self-Care Project Backend are welcome! Here's how you can contribute:

  • Submit bug reports or feature requests via GitHub Issues.
  • Fork the repository, make changes, and submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published