Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.42 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.42 KB

Market Place

A sample market place implemented in razor pages.

Screenshots

overview login admin panel

Feature

  • Login/Logout
  • Email Confirmation
  • Add Product to Cart
  • Checkout
  • Admin Panel to Edit Products

Dependencies

If you have not installed entity framework core tools yet, consult the official documentation to install and config the path correctly.

Install Entity Framework Core tools

Project dependencies

dotnet restore

Development

Init secret manager

dotnet user-secrets init

Config the secrets for your SMTP

dotnet user-secrets set "EmailSettings:Email" "[email protected]"
dotnet user-secrets set "EmailSettings:DisplayName" "Your Display Name"
dotnet user-secrets set "EmailSettings:Password" "your-app-password"
dotnet user-secrets set "EmailSettings:Host" "smtp.gmail.com"
dotnet user-secrets set "EmailSettings:Port" "587"

Gmail Example

  • Create app password
  • Create a new app specific password
  • Use the password you created for your app as <your-app-password> when configuring EmailSettings:Password

Migrate to latatest database

dotnet ef database update

Start development

dotnet watch