Skip to content

The shop with various type of products, support user manage and sell their items.

License

Notifications You must be signed in to change notification settings

phuocquach/amazing-shop

 
 

Repository files navigation

Purpose

This repository shows the way to use identityserver4 against oauth2 protocol and openid connect.

For the slide of the presentation, please download at link

Architecture

Architecture

Setup

Prerequisites

Run the sample

docker-compose -f docker-compose.yml -f development.yml up

Database migration

Idp mirgration

build.ps1 --target=MigrateDB --sql=src/idp/sql

Sharding mirgration

$env:ConnectionString__Default="Server=127.0.0.1;Database=Tenant;User=sa;Password=Pass1234$;TrustServerCertificate=True"
 ./build.ps1 --target=MigrateDB --sql=src/gw/sql

Product Migration

$env:ConnectionString__Default="Server=127.0.0.1;Database=Product_MS;User=sa;Password=Pass1234$;TrustServerCertificate=True" 
./build.ps1 --target=MigrateDB --sql=src/api/product-service/sql

$env:ConnectionString__Default="Server=127.0.0.1;Database=Product_NT;User=sa;Password=Pass1234$;TrustServerCertificate=True" 
./build.ps1 --target=MigrateDB --sql=src/api/product-service/sql

Order Migration

$env:ConnectionString__Default="Server=127.0.0.1;Database=Order_MS;User=sa;Password=Pass1234$;TrustServerCertificate=True" 
./build.ps1 --target=MigrateDB --sql=src/api/order-service/sql

$env:ConnectionString__Default="Server=127.0.0.1;Database=Order_NT;User=sa;Password=Pass1234$;TrustServerCertificate=True" 
./build.ps1 --target=MigrateDB --sql=src/api/order-service/sql

About

The shop with various type of products, support user manage and sell their items.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 33.3%
  • C# 32.4%
  • TypeScript 10.8%
  • TSQL 7.2%
  • CSS 6.2%
  • HTML 4.8%
  • Other 5.3%