Skip to content

FoodieVerse is a fullstack recipe-sharing app built with Next.js and SQLite3. It lets users browse, view, and share meals with secure form validation and dynamic routing. Designed for food lovers, it offers a responsive UI and a smooth backend-powered experience.

Notifications You must be signed in to change notification settings

manavi-24/FoodBlog

Repository files navigation

🍽️ FoodieVerse - A Community Food Blog

FoodieVerse is a full-stack food blog platform where users can browse and share delicious meal recipes. It showcases a dynamic collection of user-submitted meals, complete with images, summaries, and detailed instructions.

This responsive web application is built using Next.js, HTML, CSS, JavaScript, and SQLite3 for persistent storage.


📸 Screenshots

🏠 Homepage

Screenshot 2025-05-19 233811

🍲 Browse Meals

Screenshot 2025-05-19 233713

📝 Share Recipe Form

Screenshot 2025-05-19 233729

👥 Foodies Community

Screenshot 2025-05-19 233752

🧾View Details

Screenshot 2025-05-20 001303

🎥 Demo (Screen Recording)

📽️ Click here to watch a short demo of the application-> (https://youtu.be/NfDUZBJwdBI)


🚀 Features

  • 🔍 Browse Meals: View all community-shared meals with images, short summaries, and contributor details.
  • 👥 Foodies Community: Join our friendly community of food lovers!
  • 🍲 View Details: Click on any meal to explore full instructions and content.
  • 📝 Share Your Own: Use the intuitive form to submit your own recipe — all fields are validated and required.
  • 📱 Responsive Design: Optimized for desktop, tablet, and mobile viewing.
  • ⚙️ Secure Input Handling: XSS protection is applied to user-submitted content.
  • 💾 Built with Better SQLite3: Lightweight and fast database for local and small-scale deployments.

🧪 Tech Stack

  • Frontend: HTML, CSS, JavaScript, React (via Next.js)
  • Backend: Node.js with Next.js App Router (server components and API routes)
  • Database: SQLite3 (via better-sqlite3 library)

⚠️ Known Issues in Production

These issues are rare and do not affect core functionality.

  • Preload Warnings: Assets are preloaded but not immediately used, triggered by automatic Next.js optimization.
  • 400/500 Errors: Can occur due to malformed image uploads or misconfigured paths, especially in production deployments.
  • ChunkLoadError: May happen if the deployment cache is stale or the dynamic routes (like [mealslug]) fail to resolve correctly.
  • Favicon Not Found (404): The favicon file is missing or not linked in the HTML; this will be fixed in the next update.
  • Dynamic Route Failures on Vercel: SQLite3 is a local file-based DB and does not persist on Vercel’s serverless environment unless configured carefully with workarounds (e.g., remote DB or edge-compatible storage).

🛠️ Development & Local Setup

  1. Clone the repo:

    git clone https://github.com/your-username/foodies-blog.git
    
  2. Install dependencies: npm install

  3. Run the development server: npm run dev

  4. Open http://localhost:3000

Meals are stored locally in meals.db inside your project directory.

🌐 Development Notes

⚠️ SQLite3 is file-based and not recommended for serverless environments like Vercel unless read-only or paired with persistent storage. You can still deploy the frontend and switch to a remote DB (e.g., Supabase, PlanetScale) for full functionality.

About

FoodieVerse is a fullstack recipe-sharing app built with Next.js and SQLite3. It lets users browse, view, and share meals with secure form validation and dynamic routing. Designed for food lovers, it offers a responsive UI and a smooth backend-powered experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published