Skip to content

Ready to use E-Commerce platform for implement business.

Notifications You must be signed in to change notification settings

MasoudAbdaal/Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Online Shop

Ready to deploy your shop.

Table Of Contents

Getting Started

Prerequisites

.Net 6

SQL Server

Installation

  1. Download And install SQL Server 2022 with named instance Shop 1-2. Install SSMS 1-3. Create dev user with admin123 password (Guide)

1-4. Grant dbcreator role to dev user.

  1. Install .Net 6

  2. Install Ef Core Tools

dotnet tool install --global dotnet-ef
  1. Clone project
git clone https://github.com/MasoudAbdaal/Shop.git
  1. Create a migration
 dotnet ef migrations add InitialMigration
  1. Apply migration to database
 dotnet ef database update
  1. Run Project
dotnet run
  1. Change appsettings.Development.json Issuer And Audience for your host url
  • Add Migrations
dotnet ef migrations add InitialCreate --project .\Infrastructure\ --startup-project .\API --context UserDbContext  
  • Remove Migrations:
dotnet ef migrations remove --force --project .\Infrastructure\ --startup-project .\API\  --context UserDbContext  
  • Apply Migrations:
dotnet ef database update --project .\Infrastructure\ --startup-project .\API\  --context UserDbContext  
  • Drop Database
dotnet ef database drop --project .\Infrastructure\ -s .\API\ --context UserDbContext  

About

Ready to use E-Commerce platform for implement business.

Resources

Stars

Watchers

Forks

Languages