This project is a solution to the epadoca challenge
Explore the code »
Table of Contents
-
Clone the repo
git clone https://github.com/Flaviojcf/epadoca-challenge.git
-
In Visual Studio Code
Install ef
dotnet tool install --global dotnet-ef
Update the migration
dotnet ef database update
Run the project
dotnet run
-
In Visual Studio
Open the package manager console and write: "Update-Database -Context BakeryDbContext"
-
Run the project
Run the project
- SQL Server
https://www.microsoft.com/pt-br/sql-server/sql-server-downloads
- Create a user in database and change the authentication mode in SQL Server
https://learn.microsoft.com/pt-br/sql/database-engine/configure-windows/change-server-authentication-mode?view=sql-server-ver16
- Set the path to database and user informations in appsettings.json
Example: "DataBase": "Server='path-database-example';Database='database-name-example';User Id='user-id-example';Password='user-password-example'"
@flavio_jCosta - flaviojcostafilho@gmail.com
Project Link: https://github.com/Flaviojcf/epadoca-challenge