A Ecommerce site Made with ASP .NET Core , ASP .NET Web API & Angular
Frontend Technologies JavaScript Angular TypeScript SignalR
ASP .NET Core Web API ASP .NET Core EntityFrameworkCore SignalR
- Install node js
- Visual Studio Code 2019
- Install dotnet ef global tool using this command dotnet tool install --global dotnet-ef
- Download the repositories.
- Open the SmartShop.DataApi project in the command prompt & write the below command.
- Add migration for SmartShopDbContext - dotnet ef migrations add "ss_v0" --project ..\SmartShop.DataLib\SmartShop.DataLib.csproj --startup-project .\SmartShop.DataApi.csproj -c SmartShopDbContext
- Update migration for SmartShopDbContext - dotnet ef database update "ss_v0" --project ..\SmartShop.DataLib\SmartShop.DataLib.csproj --startup-project .\SmartShop.DataApi.csproj -c SmartShopDbContext
- Add migration for AppDbContext - dotnet ef migrations add "st_v0" -c AppDbContext
- Update migration for AppDbContext - dotnet ef database update -c AppDbContext
- Open SmartShop.Web project in the command prompt and run the server on 5001 port - dotnet run --urls=http://localhost:5001
- Open the SmartShop.DataApi project in the command prompt and run - dotnet run
- Open the SmartShop.Web\ClientApp in the command prompt and run - npm install & then ng serve -o