A Ecommerce site Made with ASP .NET Core , ASP .NET Web API & Angular
- JavaScript
- Angular
- TypeScript
- SignalR
- ASP .NET Core Web API
- ASP .NET Core
- EntityFrameworkCore
- SignalR
- node js
- Visual Studio Code 2019
dotnet ef global tool
if you don't have, using this command to installdotnet tool install --global dotnet-ef
- Download the repository.
- 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
- 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
& thenng serve -o