Skip to content

Gif implementation #38

@Programador-jr

Description

@Programador-jr

Exercise GIFs Implementation

Summary

Add support for exercise GIFs in the MuscleLib API, enabling animated exercise demonstrations in the frontend without storing binary files in the database.

Goals

  • Provide animated GIF demonstrations for exercises
  • Keep the database free of binary media files
  • Standardize how GIFs are accessed by the frontend

Tasks

  • Define the folder structure for storing GIF files
  • Update the exercise schema to include GIF paths
  • Adjust API routes to return GIF paths
  • Ensure consistency with the existing image handling pattern
  • Test GIF consumption in the frontend

Constraints

  • GIF files must not be stored in database
  • Only file paths or URLs should be persisted
  • File structure must be predictable and standardized
  • The API should only expose paths, with no media processing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeaturenovos recursos

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions