-
Make sure SQL Server Express LocalDB is available.
Or change the Connection String in
appsettings.Development.json
. By default it points to the server instance(localdb)\\MSSQLLocalDB
.a. Assuming this condition is met, the database named
YakShop
should be automatically created upon starting the back-end project. -
After loading the Solution in Visual Studio, simply clicking ► Start should launch both the back-end project (Swagger UI at
https://localhost:7051/swagger/index.html
) and the front-end project (the "Yak Shop" Angular application athttps://localhost:4200/
) in separate browser windows. -
The background service
TimeLapseSimulationHostedService
is set to run every5
seconds to simulate days passing. The service will trigger updates to herd/stock statistics. You can see this happen in real time on the Order Form page ( https://localhost:4200/orderform ), which can be reached by clicking a "Shop Now" button. Unfortunately upon first opening the Order Form there will be a slight delay in showing stock data, due to the nature of the real-time Web Socket connection (SignalR).
-
Notifications
You must be signed in to change notification settings - Fork 0
RichardNobel/The-Yak-Shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Coding Assignment (sep/oct 2024)