|| Pierre's Bakery ||
Epicodus - C# - C# Authentication with Identity - Code Review
Jessi B
March 2022
___________________________
This C# web app uses user authentication and a many-to-many relationship where a treat can have many flavors (such as sweet, savory, spicy, or creamy) and a flavor can have many treats. While all users have read functionality, a logged in users can create, update and delete sweets & treats. The splash page lists all treats and flavors. Users are able to click on an individual treat or flavor to see all the treats/flavors that belong to it.
- Clone Repo: In your terminal, navigate to your desktop or other desired location and enter
git clone https://github.com/jessi-b/Pierre-sSweet-SavoryTreats.git
- Add Required Packages: Navigate to the top level of the project directory called Pierre & enter
dotnet build
- Protect Your MySQL Password: Enter touch .gitignore & touch appsettings.json in the command line
- Add the following code to appsettings.json & fill in your password where designated:
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=jessi_baker_pierre;uid=root;pwd=YOUR-PASSWORD-HERE;"
}
}
- Update Database: Enter
dotnet ef migrations add Initial
thendotnet ef database update
in the terminal - Try Out This Web App: Enter
dotnet run
in the command line and navigte to http:https://localhost:5000/ in your browser. This is not yet published
No known bugs.
Copyright (c) Mar 2022 Jessi B
If you run into any issues or have questions, ideas or concerns or wish to make a contribution to the code see contact information below.
- Jessi B [email protected]