Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
Food Faves Tracker is a React-based web application that allows users to track and share their favorite meals from restaurants. Users can add, edit, and delete meal entries with photos, ratings, descriptions, and location data.
Sign in to like and favorite skills
Food Faves Tracker is a React-based web application that allows users to track and share their favorite meals from restaurants. Users can add, edit, and delete meal entries with photos, ratings, descriptions, and location data.
src/ ├── components/ # Reusable UI components │ ├── ui/ # shadcn/ui base components │ ├── MealCard.tsx # Individual meal display card with edit/delete actions │ ├── MealForm.tsx # Form for adding/editing meals │ ├── StarRating.tsx # Star rating component │ └── ... ├── contexts/ # React contexts (Auth, etc.) ├── hooks/ # Custom React hooks ├── integrations/ # External service integrations │ └── supabase/ # Supabase client and types ├── lib/ # Utility functions ├── pages/ # Page components │ ├── Index.tsx # Main meals list page │ ├── Auth.tsx # Authentication page │ └── NotFound.tsx # 404 page └── types/ # TypeScript type definitions └── meal.ts # Meal interface definition
The
meals table contains:
id (uuid, primary key)user_id (uuid, foreign key to auth.users)restaurant (text) - Restaurant namename (text) - Meal namedescription (text, optional) - Meal descriptionrating (integer) - 1-5 star ratingimage_url (text, optional) - Photo URLlatitude (numeric, optional) - Restaurant locationlongitude (numeric, optional) - Restaurant locationtags (text[], optional) - Array of tag stringsprice (numeric, optional) - Meal pricecreated_at (timestamp)src/integrations/supabase/client.ts.env.local (not tracked in git); to chain them.