A simple app like amazon that sell variety of products - Razor
- Navigate to the directory you want to clone the project in and clone the project using:
git clone {project url}
. - Open the sln file that is cloned using visual studio.
- Make a copy of appsettingsTEMPLATE.json and rename it to appsettings.json and fill in the required information.
- This includes the local database server name in DefaultConnection's (localdb) and the database name according to what you like after the Database= up to the semicolon.
- And the SiteKey and SecretKey for Recaptcha, fill in the key you retrieve from google recaptcha there so that the login works.
- In Package Manager Console update the database using the following code:
Update-Database -Context AuthDbContext
.Update-Database -Context StoreDbContext
.- Also as there might be an error in the nuget package run
dotnet restore
to restore the package.
- Cart
- Checkout
- Shop - product page
- Product Detail
- Authentication - Register/Login
- Search
- Allow user to checkout as guest
- Sort products by category
- Product description page
- Rating
Tables: Product, Category, ProductCategory, Cart, CartProduct, User