E-commerce web project which contains both web api and web UI applications. Developed by using C# .Net Core framework, CQRS, Repository pattern, auto mapper auto and validator
.Net 5.0
MSSQL server 2019
For using code, you need to modify following files:
- sharedappsettings_forgit.json
- appsettings_forgit.json (In Web.Api project)
- appsettings_forgit.json (In Web.UI project)
Required Steps are:
- Replace values of keys with your parameters. For example:
"ApiKey":"AbC123KJE43avfe96"
- Remove "_forgit" part from the name of settings file and save
- In ShoppingAppDbContextFactory inside ShoppingApp.Domain project replace connectioon string with yours
- Open the terminal and go to project directory. Then type:
cd shoppingapp.domain
dotnet ef migrations add initial
dotnet ef database update
This will create migrations folder inside ShoppingApp.Domain project. Migrations are used to create tables in your database.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.