How gaum-g/recipe-sharing-website- works
Project Type and Purpose
• This is a monolithic, full‑stack web application (LAMP style) for sharing recipes.
• Front‑end: static HTML/CSS/JS pages.
• Back‑end: PHP scripts that handle authentication, recipe CRUD, image retrieval, and search.
• Persistence: relational database (MySQL or similar, accessed via db.php/config.php).
File Structure
• Top‑level HTML/CSS/JS pages (e.g., homepage.html/.css/.js, addrecipe.html/.css/.js).
• PHP endpoints for dynamic behavior—login.php, signup.php, addrecipe.php, fetch_recipes.php, search.php, display_image.php, etc.
• Shared configuration modules: config.php, db.php.
• No separate “frontend” and “backend” folders: everything co‑exists under the root, implying a single deployable web app.
• No explicit build scripts or container definitions—deploy as a PHP web service (e.g., on Render).
README for Technical Stack & Insights
• HTML/CSS/JS front‑end served statically but enhanced by AJAX calls.
• PHP back‑end for server‑side logic.
• Hosted on Render as a “Static Site” (though it uses PHP—likely Render’s Web Service).
• Future enhancements point to additional modules (rating, comments, email verification).