How nortey-micheal/zestify works
Project type and purpose
• This is a full-stack web application called “Zestify,” designed for recipe sharing.
• Frontend: React (TypeScript) + Tailwind CSS, state managed via Redux Toolkit.
• Backend: Node.js + Express.js, REST API endpoints for user and recipe operations.
• Persistence: MongoDB for data; Cloudinary for image storage; Resend for email.
• Auth: JWT + bcrypt; email verification flow via Resend.
File structure
• Top-level split: /frontend and /backend.
• Backend organizes code by concern:
• controllers/ – business logic for recipes & users
• routes/ – Express routers for API endpoints
• models/ – Mongoose schemas for Recipe and User
• middleware/ – JWT verification
• utils/ – token generators
• cloudinary/ – image upload helper
• resend/ – email templates & senders
• Frontend follows a feature-slice structure:
• src/pages/ – page components with routing wrappers
• src/components/ – UI & feature components
• src/hooks/ – custom React hooks for API calls
• src/redux/ – state slices for recipes & users
• build config: vite.config.ts, tsconfig, .env
Key insights from the README
• Calls out API calls for signup, login, posting & fetching recipes.
• Highlights Cloudinary and Resend integrations.
• Emphasizes search, filters, dark mode.