Skip to content

burakyuz1/ShoeStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShoeStore

Running the Sample

After cloning or downloading the project, you need to using database update commands (just below). Postgre SQL is used in the project.

* Update-Database -Context StoreContext
* Update-Database -Context AppIdentityDbContext

image

Project Structure

/src
* ApplicationCore
* Infrastructure
* Web

/tests
* UnitTests

Migrations

/Infrastructure
Add-Migration InitialCreate -Context StoreContext -OutputDir "Data\Migrations"
Update-Database -Context StoreContext
Add-Migration InitialIdentity -Context AppIdentityDbContext -OutputDir "Identity\Migrations"
Update-Database -Context AppIdentityDbContext

Packages

/ApplicationCore
Install-Package Ardalis.Specification -v 5.2.0

/Infrastructure
Install-Package Microsoft.EntityFrameworkCore -v 5.0.14
Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -v 5.0.10
Install-Package Ardalis.Specification.EntityFrameworkCore -v 5.2.0
Install-Package Microsoft.AspNetCore.Identity.EntityFrameworkCore -v 5.0.14

/UnitTests
Install-Package Moq

Resources