This project consists of two csharp projects.
- ShopClient - Customer
- ShopAdmin - The owner of the shop
- Clone and change the dir
git clone https://github.com/avishka2k/MobileShop
cd MobileShop
OR, Download the source code here.
- Click and open ShopAdmin.slh and Shopclinet.slh in ShopAdmin and ShopClient floders
- First run ShopAdmin
- Use the following credentials when logging into ShopAdmin.
Username: user@example.com
Password: 123
- You can get the experience of the client side by running the ShopClient.
Note: The database must be configured to get the full experience.
- Open SQL Server Management Studio(SSMS). Get more about SSMS
- Right-click Databases on object explorer, click on 'import data-tier application'
- Then click on Next,
- Browse the MobileShopDb.bacpac (Download MobileShopDb.bacpac from here) file from your folder and click next
- Click Next until finished
- After importing the database, right-click on the server and go to properties
- Copy your server name
Now you can close the SSMS
- After configuring the database, go to Visual Studio and paste the server name in the application.json file as shown in the image below. It should be done for both ShoAdmin and ShopClient.