{"id":29964950,"url":"https://github.com/franc-dev/recipe-share","last_synced_at":"2025-08-30T02:08:35.698Z","repository":{"id":305297993,"uuid":"1022502765","full_name":"Franc-dev/recipe-share","owner":"Franc-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-20T13:23:40.000Z","size":2211,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T01:34:08.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sawe-recipe-share.vercel.app","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Franc-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-19T07:58:20.000Z","updated_at":"2025-07-20T13:23:43.000Z","dependencies_parsed_at":"2025-07-19T13:35:13.691Z","dependency_job_id":null,"html_url":"https://github.com/Franc-dev/recipe-share","commit_stats":null,"previous_names":["franc-dev/recipe-share"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Franc-dev/recipe-share","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Franc-dev%2Frecipe-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Franc-dev%2Frecipe-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Franc-dev%2Frecipe-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Franc-dev%2Frecipe-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Franc-dev","download_url":"https://codeload.github.com/Franc-dev/recipe-share/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Franc-dev%2Frecipe-share/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272793018,"owners_count":24993830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-04T01:08:17.815Z","updated_at":"2025-08-30T02:08:35.671Z","avatar_url":"https://github.com/Franc-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍽️ RecipeShare - MERN Stack Recipe Sharing Platform\n\nA comprehensive full-stack MERN application that allows users to share, discover, and manage recipes. Built with MongoDB, Express.js, React.js, and Node.js.\n\n## 🚀 Live Demo\n\n- **Frontend**: [Deployed on Vercel](https://recipe-share-app.vercel.app)\n- **Backend**: [Deployed on LeapCell](https://leapcell.io/)\n\n### 📹 Video Demo\n\n🎥 **[Watch Interactive Demo](https://app.supademo.com/demo/cmdabc3cj0b4z10or5ss8vcny)**\n\nExperience the full RecipeShare application with this interactive demo showcasing all features including recipe creation, search, user profiles, and more!\n\n## ✨ Features\n\n### 🔐 Authentication \u0026 User Management\n- User registration and login with JWT authentication\n- Password hashing with bcrypt\n- User profiles with customizable avatars and bios\n- Password change functionality\n\n### 📝 Recipe Management\n- Create, edit, and delete recipes\n- Rich recipe details including ingredients, instructions, and cooking times\n- Recipe categories and difficulty levels\n- Image upload support for recipe photos\n- Public/private recipe visibility\n\n### 🔍 Search \u0026 Discovery\n- Advanced search functionality with filters\n- Browse recipes by category, cuisine, and difficulty\n- Sort recipes by newest, rating, cooking time, and title\n- Real-time search suggestions\n\n### ⭐ Reviews \u0026 Ratings\n- Rate recipes with 1-5 stars\n- Leave detailed reviews and comments\n- View average ratings and review counts\n- User review history\n\n### ❤️ Social Features\n- Like and favorite recipes\n- View top chefs and popular recipes\n- User activity feeds\n\n### 📱 Responsive Design\n- Mobile-first responsive design\n- Modern UI with Tailwind CSS\n- Smooth animations and transitions\n- Progressive Web App features\n\n## 🛠️ Tech Stack\n\n### Backend\n- **Node.js** - Runtime environment\n- **Express.js** - Web framework\n- **MongoDB** - NoSQL database\n- **Mongoose** - ODM for MongoDB\n- **JWT** - Authentication\n- **bcryptjs** - Password hashing\n- **Socket.io** - Real-time features\n- **Jest** - Testing framework\n\n### Frontend\n- **React.js** - UI library\n- **React Router** - Client-side routing\n- **React Query** - Data fetching and caching\n- **Tailwind CSS** - Utility-first CSS framework\n- **React Hook Form** - Form management\n- **React Hot Toast** - Notifications\n- **Framer Motion** - Animations\n\n## 📦 Installation \u0026 Setup\n\n### Prerequisites\n- Node.js (v18 or higher)\n- MongoDB (local or Atlas)\n- npm or yarn\n\n### Backend Setup\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd week-8-capstone_-sawe-blip\n   ```\n\n2. **Install dependencies**\n   ```bash\n   cd server\n   npm install\n   ```\n\n3. **Environment configuration**\n   ```bash\n   cp env.example .env\n   # Edit .env with your configuration\n   ```\n\n4. **Start the server**\n   ```bash\n   npm run dev  # Development mode -all \n   npm start    # Production mode\n   ```\n\n### Frontend Setup\n\n1. **Install dependencies**\n   ```bash\n   cd client\n   npm install\n   ```\n\n2. **Start the development server**\n   ```bash\n   npm start\n   ```\n\n3. **Build for production**\n   ```bash\n   npm run build\n   ```\n\n## 🗄️ Database Schema\n\n### User Model\n```javascript\n{\n  username: String (unique),\n  email: String (unique),\n  password: String (hashed),\n  firstName: String,\n  lastName: String,\n  avatar: String,\n  bio: String,\n  favoriteRecipes: [Recipe IDs],\n  myRecipes: [Recipe IDs],\n  isAdmin: Boolean\n}\n```\n\n### Recipe Model\n```javascript\n{\n  title: String,\n  description: String,\n  author: User ID,\n  image: String,\n  prepTime: Number,\n  cookTime: Number,\n  servings: Number,\n  difficulty: Enum (Easy, Medium, Hard),\n  cuisine: String,\n  category: Enum (Breakfast, Lunch, Dinner, etc.),\n  ingredients: [{\n    name: String,\n    amount: String,\n    unit: String\n  }],\n  instructions: [{\n    step: Number,\n    description: String\n  }],\n  reviews: [{\n    user: User ID,\n    rating: Number,\n    comment: String\n  }],\n  likes: [User IDs],\n  isPublic: Boolean,\n  isFeatured: Boolean\n}\n```\n\n## 🧪 Testing\n\n### Backend Tests\n```bash\ncd server\nnpm test              # Run all tests\nnpm run test:watch    # Run tests in watch mode\n```\n\n### Frontend Tests\n```bash\ncd client\nnpm test              # Run all tests\nnpm test -- --watch   # Run tests in watch mode\n```\n\n## 📡 API Endpoints\n\n### Authentication\n- `POST /api/auth/register` - Register new user\n- `POST /api/auth/login` - User login\n- `GET /api/auth/me` - Get current user profile\n- `PUT /api/auth/profile` - Update user profile\n- `POST /api/auth/change-password` - Change password\n\n### Recipes\n- `GET /api/recipes` - Get all recipes with filters\n- `GET /api/recipes/featured` - Get featured recipes\n- `GET /api/recipes/:id` - Get single recipe\n- `POST /api/recipes` - Create new recipe\n- `PUT /api/recipes/:id` - Update recipe\n- `DELETE /api/recipes/:id` - Delete recipe\n- `POST /api/recipes/:id/reviews` - Add review\n- `POST /api/recipes/:id/like` - Toggle like\n- `POST /api/recipes/:id/favorite` - Toggle favorite\n\n### Users\n- `GET /api/users/profile/:username` - Get user profile\n- `GET /api/users/my-recipes` - Get user's recipes\n- `GET /api/users/favorites` - Get user's favorites\n- `GET /api/users/search` - Search users\n- `GET /api/users/top-chefs` - Get top chefs\n\n## 🚀 Deployment\n\n### Backend Deployment (Render)\n1. Connect your GitHub repository to Render\n2. Set environment variables in Render dashboard\n3. Deploy automatically on push to main branch\n\n### Frontend Deployment (Vercel)\n1. Connect your GitHub repository to Vercel\n2. Set build command: `cd client \u0026\u0026 npm install \u0026\u0026 npm run build`\n3. Set output directory: `client/build`\n4. Deploy automatically on push to main branch\n\n## 📱 Screenshots\n\n### Home Page\n![Home Page](screenshots/home.png)\n\n### Recipe Detail\n![Recipe Detail](screenshots/recipe-detail.png)\n\n### User Profile\n![User Profile](screenshots/profile.png)\n\n### Create Recipe\n![Create Recipe](screenshots/create-recipe.png)\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n## 🙏 Acknowledgments\n\n- [React Documentation](https://react.dev/)\n- [Express.js Documentation](https://expressjs.com/)\n- [MongoDB Documentation](https://docs.mongodb.com/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [React Query](https://tanstack.com/query)\n\n---\n\n⭐ **Star this repository if you found it helpful!** \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranc-dev%2Frecipe-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranc-dev%2Frecipe-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranc-dev%2Frecipe-share/lists"}