Skip to content

FastAPI backend with endpoints for explaining mistakes during exercise performance

Notifications You must be signed in to change notification settings

KunickiKarol/Training-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rAIght.move

View Poster.png for a summary!!!

Example of segmentation and mistake recognition result

About

This is backend part of the project for the completion of the Master's degree in Artificial Intelligence. Project provide insights and explanations for mistakes made during exercise performance.

Features

  • FastAPI framework for high performance
  • Endpoints to analyze and explain exercise mistakes
  • Dockerfile for containerized deployment

Requirements

  • Python 3.11+
  • FastAPI
  • Docker (optional, for containerized deployment)

Installation

  1. Clone the repository:

    git clone https://github.com/hbrt-rdzk/rAIght.move-backend.git
    cd rAIght.move-backend
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the dependencies:

    pip install -e .

Usage

  1. Run the FastAPI server:

    uvicorn app.main:app --reload
  2. Access the API documentation at http://127.0.0.1:8000/docs

Docker Deployment

  1. Build the Docker image:

    docker build -t raight-move-backend .
  2. Run the Docker container:

    docker run -p 8000:8000 raight-move-backend

Project Structure

  • app/ - Contains the FastAPI application and endpoints
  • configs/ - Configuration files
  • data/ - Data files for the application
  • .gitignore - Git ignore file
  • Dockerfile - Dockerfile for containerization
  • pyproject.toml - Project configuration file
  • README.md - Project documentation

Contributing

Contributions are welcome! Please submit a pull request or open an issue for any changes.

About

FastAPI backend with endpoints for explaining mistakes during exercise performance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published