Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yummy Recipe Web Application

A C# MVC website application for meal planning. Users can search for recipes using the Spoonacular API, generate personalized meal plans, and create custom meal plans. The platform allows users to create accounts to save their daily meal plans and track nutritional information including macronutrients.

Getting Started (Local Development)

Prerequisites

Setup Steps

  1. Clone the repository:
    git clone https://github.com/mirna-salem/RecipeApplication.git
    cd RecipeApplication
  2. Restore dependencies:
    dotnet restore
  3. Configure your API key:
    • Copy your Spoonacular API key into RecipeApplication/appsettings.Development.json:
      "SpoonacularApiKey": "YOUR_SPOONACULAR_API_KEY_HERE"
  4. Set up the database:
    cd RecipeApplication
    dotnet ef database update
    cd ..
  5. Run the application:
    cd RecipeApplication
    dotnet run
    The app will be available at the URLs shown in the terminal (e.g., https://localhost:7092).

Project Architecture

  • ASP.NET Core MVC: Main web framework for controllers, views, and routing.
  • Entity Framework Core: Handles data access and migrations, using SQL Server LocalDB for development.
  • Identity: User authentication and management via ASP.NET Core Identity.
  • Spoonacular API: External API for recipe and meal plan data.

Solution Structure:

RecipeApplication/
  ├── Controllers/         # MVC controllers (main logic)
  ├── Models/              # Data models and view models
  ├── Areas/Identity/      # User authentication and identity management
  ├── Views/               # Razor views (UI)
  ├── wwwroot/             # Static files (CSS, JS, images)
  ├── Migrations/          # Entity Framework migrations
  ├── appsettings.*.json   # Configuration files
  └── Program.cs           # App startup and configuration

Deployed Application

You can access the deployed application at: https://yummy-g2h9hphecrbfgcay.canadacentral-01.azurewebsites.net/

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

Contact

For questions or support, please open an issue on GitHub or contact the maintainer.

About

A C# web application where users can search for recipes, generate personalized meal plans, create custom meal plans all using Spoonacular API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages