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.
📽️ Click here to watch a short demo of the application-> (https://youtu.be/NfDUZBJwdBI)
- 🔍 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.
- 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)
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).
-
Clone the repo:
git clone https://github.com/your-username/foodies-blog.git
-
Install dependencies: npm install
-
Run the development server: npm run dev
Meals are stored locally in meals.db inside your project directory.