Skip to content

Contoso Crafts demo application written with Blazor Web Assembly, a Web API backend, and Stripe Checkout integration.

Notifications You must be signed in to change notification settings

luismendes070/ContosoCraftsStriped

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContosoCrafts (Dapr Edition)

This repo contains a sample application that shows how to integrate Stripe Checkout into an ASP.NET Core application. The solution contains three projects.

Spinning up the environment

Configuring API keys

Add your Stripe API keys to the configuration here: src/ContosoCrafts.Web.Server/appsettings.json

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "Stripe": {
    "PubKey": "<your-stripe-publishable-key>",
    "SecretKey": "<your-stripe-secret-key>"
  }
}

Run the application

Build and run the ContosoCrafts.Web.Server project.

> cd src/ContosoCrafts.Web.Server
> dotnet run

Requirements

  • Visual Studio Code
  • .NET 5 SDK
  • A Stripe test account

About

Contoso Crafts demo application written with Blazor Web Assembly, a Web API backend, and Stripe Checkout integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 53.1%
  • HTML 35.5%
  • CSS 10.9%
  • JavaScript 0.5%