- C#
- .NET v5.0
- ASP.NET Core MVC
- HTML
- Bootstrap
- MySQL
- CSS
- MySQL Workbench
- Razor
- Entity FrameworkCore
- .NET Core CLI
This web application lets the user add recipes and tags only after they have created and logged in, the user can connect recipes to tags. The users recipes are displayed in highest rated order and are searchable by ingredients.
- Clone or download the zip file of this repository to your desktop
- Navigate into the top level directory
- Open in your code editor
- Commit and push your .gitignore file to your repo
- Add the file RecipeBox.Solution/RecipeBox/appsettings.json and insert the following:
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=recipe_box;uid=[YOUR-UID];pwd=[YOUR-PASSWORD-HERE];"
}
}
- Insert your MySQL password and user Id
- Make sure to have .NET 5.0 installed
- Run
$ dotnet restoreto install bin & obj folders - Make sure to have EntityFrameworkCore.Design 5.0 added and dotnet ef installed globally
- In your terminal navigate into RecipeBox.Solution/RecipeBox
- If Migrations folder is not present run
$ dotnet ef migrations add Initialto add Migrations folder - Then run
$ dotnet ef database updateto create the schema - Run
$ dotnet buildto build the site - Run
$ dotnet runto start the live server - On the home page, click 'Create an Account', and follow the steps to register as a new user
- Click either button to see all recipes or tags
- After clicking add put in your inputs and hit submit to reveal the lists!
- There is also a search button to search by Ingredients
As A User..
- I want to add a recipe with ingredients and instructions, so I remember how to prepare my favorite dishes.
- I want to tag my recipes with different tags, so recipes are easier to find. A recipe can have many tags and a tag can have many recipes.
- I want to be able to update and delete tags, so I can have flexibility with how I categorize recipes.
- I want to edit my recipes, so I can make improvements or corrections to my recipes.
- I want to be able to delete recipes I don't like or use, so I don't have to see them as choices.
- I want to rate my recipes, so I know which ones are the best.
- I want to list my recipes by highest rated so I can see which ones I like the best.
- I want to see all recipes that use a certain ingredient, so I can more easily find recipes for the ingredients I have.
- I want to create an account.
- I want to be able to log in and log off.
- I want to be able to see my account details.
- N/A
MIT: See Badge at top for Info Copyright (c) 2021 Paige Tiedeman and Anna Clarke
Paige Tiedeman @ github.com/paigetiedeman
Anna Clarke @ anclarkie@gmail.com