FoodVision Shared

This directory contains shared code that is used by both the frontend and backend.

Structure

  • types.ts: TypeScript interfaces and types used throughout the application

Types

  • FoodAnalysisResult: The result of analyzing a food image
  • FoodEntryData: Data structure for a food entry in the database
  • StatsData: Data structure for calorie statistics