{"id":23158546,"url":"https://github.com/prashantzzz/mealplannerfrontend","last_synced_at":"2025-10-29T05:07:43.060Z","repository":{"id":267088610,"uuid":"900200359","full_name":"prashantzzz/MealPlannerFrontend","owner":"prashantzzz","description":"Frontend for Guvi-Chubb Capstone MealPlanner Project by Prashant","archived":false,"fork":false,"pushed_at":"2024-12-25T18:29:56.000Z","size":2410,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T01:39:45.268Z","etag":null,"topics":["angular"],"latest_commit_sha":null,"homepage":"https://prmealplanner.netlify.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/prashantzzz.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}},"created_at":"2024-12-08T06:07:18.000Z","updated_at":"2024-12-25T18:30:00.000Z","dependencies_parsed_at":"2024-12-25T19:22:25.532Z","dependency_job_id":"0adc4b70-ed25-4e68-95bb-f665f8bc952a","html_url":"https://github.com/prashantzzz/MealPlannerFrontend","commit_stats":null,"previous_names":["prashantzzz/mealplannerfrontend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prashantzzz/MealPlannerFrontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantzzz%2FMealPlannerFrontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantzzz%2FMealPlannerFrontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantzzz%2FMealPlannerFrontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantzzz%2FMealPlannerFrontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashantzzz","download_url":"https://codeload.github.com/prashantzzz/MealPlannerFrontend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantzzz%2FMealPlannerFrontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281563785,"owners_count":26522704,"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-10-29T02:00:06.901Z","response_time":59,"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":["angular"],"created_at":"2024-12-17T22:20:11.267Z","updated_at":"2025-10-29T05:07:43.014Z","avatar_url":"https://github.com/prashantzzz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MealPlanner Frontend\n\nThis repository contains the Angular frontend for the **MealPlanner** project, designed to help users plan meals, manage dietary preferences, track shopping lists, and generate reports. The application is built using Angular and communicates with a backend API for data storage and authentication.\n\n## Features\n\n1. **Recipes:**\n   - Users can browse and search for recipes.\n   - View detailed information about each recipe.\n   - Option to add selected recipes to meal plans or shopping lists.\n\n2. **Meal Plans:**\n   - Create and view personalized meal plans.\n   - Modify existing meal plans by adding or removing recipes.\n   - Sync meal plans with dietary preferences.\n\n3. **Preferences:**\n   - Manage dietary preferences based on the user's role.\n   - **Customers**: Add and view personal dietary preferences.\n   - **Admin, Nutritionist, or Meal Planner roles**: View preferences of all users.\n\n4. **Shopping List:**\n   - Generate and manage a shopping list based on meal plans.\n   - Add or remove items manually.\n\n5. **Reports:**\n   - Generate reports for meal plans, preferences, and other relevant data.\n   - Role-based reports for admins, meal planners, and nutritionists.\n\n6. **Authentication:**\n   - Login and signup functionality with JWT-based authentication.\n   - Role-based access to various features:\n     - **Customer**: Limited to personal meal plans and preferences.\n     - **Admin, Nutritionist, Meal Planner**: Access to manage and view data for all users.\n\n---\n\n## Getting Started\n\n### Prerequisites\nEnsure the following are installed on your system:\n- **Node.js** (v16 or above)\n- **Angular CLI** (v15 or above)\n\n### Clone the Repository\n```bash\ngit clone https://github.com/your-repo/mealplanner-frontend.git\ncd mealplanner-frontend\n```\n\n### Install Dependencies\n```bash\nnpm install\n```\n\n### Configure Environment\nUpdate the `src/environments/environment.ts` file with the API URL:\n```typescript\nexport const environment = {\n  production: false,\n  apiUrl: 'https://localhost:7081/api',\n};\n```\n\n### Run the Application\n```bash\nng serve\n```\nVisit [http://localhost:4200](http://localhost:4200) in your browser to access the application.\n\n---\n\n## File Structure\n- **`src/app/`**: Contains all the Angular components and services.\n  - **`recipes/`**: Handles recipe browsing and management.\n  - **`meal-plans/`**: Manages meal plan creation and viewing.\n  - **`preferences/`**: Handles user and role-based dietary preferences.\n  - **`shopping-list/`**: Manages shopping list items.\n  - **`reports/`**: Generates and displays reports.\n  - **`auth/`**: Authentication components and services.\n\n---\n\n## Deployment\n1. Build the project:\n   ```bash\n   ng build --prod\n   ```\n2. Deploy the `dist/` directory to your preferred hosting service.\n\n---\n\n## Important Notes\n- **Authentication Roles**: Ensure the backend roles are correctly mapped to frontend features.\n- **CORS**: The backend must allow requests from the frontend's origin.\n- **API Documentation**: Refer to the backend API documentation for endpoints and request details.\n\n---\n\n## Contributing\nFeel free to submit issues or pull requests for bug fixes or new features.\n\n---\n\n\n---\n\nEnjoy using the MealPlanner application! 🎉","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantzzz%2Fmealplannerfrontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashantzzz%2Fmealplannerfrontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantzzz%2Fmealplannerfrontend/lists"}