How albertcarri/umamiveg works
Project type and purpose
• This is a full-stack Next.js (App Router) web application for a vegan food business.
• Purpose: display dynamic menus (congelados, repostería, tienda, menú general), let users build an order “cart” in the browser, then send that order via WhatsApp rather than a traditional payment gateway.
• Data and images live in Supabase; there’s also a custom CMS service you built that stores/retrieves content in Supabase.
File structure
• Top-level “app” folder: Next.js 13 App Router pages and server-side API endpoints under app/api/[…]/route.js.
• Subdirectories under app/: routes for each section (congelados, menu, reposteria, tienda, contacto).
• “components” folder: reusable React components (Footer, StoreAddCartButton, showcart, menuBurger, etc.).
• “lib” folder: data-fetch helpers (getMenu.js, getCongelados.js, getReposteria.js) that call Supabase.
• “utils/supabase”: server utility to instantiate Supabase client (server.js).
• Config files: next.config.mjs, tailwind.config.js, postcss.config.mjs, jsconfig.json.
README for additional insights
• Confirms Next.js + Tailwind CSS + Supabase (DB and storage).
• Dynamic content loaded via a CMS you built, also backed by Supabase.
• Orders are sent through WhatsApp integration (opening a wa.me link with order summary).