Legion is a demo application of an ecommerce web application. It is strictly for demo purposes.
You can try it out here.
Users can sort and filter products either by using the left side bar or the search bar. Users must login to purchase items, filling out a form with their information. After a successful order, users can view their completed order using the users dropdown on the navbar.
Admins can create, update or delete products.
Deployed via Digital Ocean LAMP Droplet
Clone Repository
In environment.ts
apiUrl: 'https://localhost:5001/api/',
stripeKey: ''
In appsettings.json:
"StripeSettings": {
"PublishableKey": "pk_test_",
"SecretKey": "sk_test_",
"WhSecret": "whsec_"
},
"ConnectionStrings": {
"DefaultConnection": "Server=localhost; Database=; Uid=; Pwd=",
"IdentityConnection": "Server=localhost; Database=; Uid=; Pwd=",
"Redis": "localhost"
},
"Token": {
"Key": "",
"Issuer": "https://localhost:5001"
},
"ApiUrl": "https://localhost:5001/Content/",
"AllowedHosts": "*"
npm install
ng serve
dotnet restore
dotnet watch run