Welcome to the backend of YumYum Recipes, a feature-rich web application where users can explore, like, and manage their favorite recipes!
This backend is built with Node.js, Express, and MongoDB Atlas, and it powers a dynamic and secure recipe experience. Deployed live on Replit π
- π JWT Authentication β Secure login & signup functionality
- β€οΈ Like Recipes β Authenticated users can like and view their saved recipes
- π§ Clean & Modular Code β Organized folders for routes, models, and middleware
- π CORS-Enabled β Communicates smoothly with your Vercel-deployed frontend
- π MongoDB Atlas Integration β Cloud-hosted database for scalability
| Tech | Use |
|---|---|
| Node.js | Runtime environment |
| Express.js | Backend web framework |
| MongoDB Atlas | Cloud database |
| Mongoose | MongoDB object modeling (ODM) |
| JWT | Secure user authentication |
| dotenv | Environment variables |
| Replit | Hosting the backend server |
π¦ YumYum_Recipes_Backend
βββ π models # Mongoose data schemas
β βββ User.js
β βββ likdRecipe.js
βββ π routes # Express route handlers
β βββ Auth.js
β βββ likedRecipe.js
βββ π middleware
| βββ authmiddleware.js
βββ .env # MongoDB URI and secrets
βββ index.js # Entry point of the app
βββ package.json