This is a server side MVC application built in C# using the ASP.NET Core framework. This project includes migrations using the Entity Framework (Core). This app also demonstrates a working knowledge of both Authentication and Authorization using ASP.NET Identity. A user should be able to view both products, Flavors and Treats, without having to sign in. If you a user wants access to the CRUD functionality in order add, edit, and delete products, the user must create an account and then sign in. After signing in, the user will have the option to add, edit, and delete, both flavors and treats. The application also has functionality to store the entire menu, as well as registered users within the database that was created using Entity Framework migrations. Lastly, the application demonstrates a many to many relationship, where multiple treats may belong to one flavor, and vice versa.
Open https://ratta2ii.github.io/PierresTreats.Solution
$ git clone (Clone repository to local machine)
$ cd PierresTreats.Solutions/PierresTreats (Navagate to the project directory PierresTreats)
$ dotnet restore
Optional: $ dotnet run (Or continue by first hooking up a database)
Configure DB connection string (appsettings.json)
$ dotnet ef migrations add Initial (Create database and migration)
$ dotnet ef database update
$ dotnet run (to run the application in the browser)
MIT License Copyright (c) 2020 Trevor Mackin