This application uses MySQL and Entity to create a webpage that allows the user to view different restaurants based on cuisines.
- Behavior: The user is welcomed with a splash page and given the option to view Cuisines or view Restaurants.
- Input Example: "View Cuisines" or "Add a new Cuisine"
- Output Example: /Cuisines or /Restaurants
- Behavior: When the user navigates to "View Cuisines" a list of all Cuisines will be displayed, if there are no Cuisines the message "There are currently no Cuisines listed" and given the option to "Add a Cuisine".
- Input Example: "Add a Cuisine"
- Output Example: /Cuisines/Create
- Behavior: If the user navigates to "Add a Cuisine" the program will allow the user to add a new Cuisine and then be directed to Cuisines.
- Input Example: "Add new Cuisine"
- Output Example: /Cuisines
- Behavior: The program will allow the user to click on a Cuisine.
- Input Example: "Italian"
- Output Example: /Cuisines/Details/{CuisinesId}
- Behavior: The program will allow the user to view all Restaurants.
- Input Example: "View Restaurants"
- Output Example: /Restaurants
- Behavior: The program will allow the user to add a new Restaurant to a specific Cuisine.
- Input Example: "Add a Resturant"
- Output Example: /Restaurants/Create
- Behavior: The program will allow the user to view Restaurant details.
- Input Example: "Johnnys Subs"
- Output Example: /Restaurants/Details/{RestaurantsId}
- Behavior: The program will allow the user to edit Restaurant details.
- Input Example: "Edit This Restaurant"
- Output Example: /Restaurants/Edit/{RestaurantsId}
- Behavior: The program will allow the user to edit Cuisine details.
- Input Example: "Edit This Cuisine"
- Output Example: /Cuisines/Edit/{CuisinesId}
- Behavior: The program will allow the user to delete Cuisine details.
- Input Example: "Delete This Cuisine"
- Output Example: /Cuisines/Delete/{CuisinesId}
- Behavior: The program will allow the user to delete Restaurant details.
- Input Example: "Delete This Restaurant"
- Output Example: /Restaurants/Delete/{RestaurantsId}
Software Requirements
- .NET framework
- A code editor (Visual Studio Code, Atom, etc.)
Acquire The Repo:
- Click the 'Clone or Download Button
- Alternately, Clone via Bash/GitBash:
git clone {repo}
Editting the Code Base:
- Open the project in your code editor; with Bash, this is done by navigating to the project directory, then
code .
- If you wish to run testing, you'll need the testing packages: navigate into the .Tests folder, and run
dotnet restore
Running the program:
- To run the program, you'll need to compile the code:
dotnet build
. This will create a compiled application in the bin/ folder. - Alternately, you can run the program directly with
dotnet run
.
No bugs
- C#
- .NET
This project is licensed under the MIT License.
Copyright (c) 2020 Spencer Moody, Christine Augustine, Allison Sadin