tvl-depot/website/sandbox/learnpianochords/src
William Carroll 81aa32fe71 Support POST /create-payment-intent
Interact with Stripe's payment_intents API endpoint.

I'm not committing the index.html that contains client-side code that interacts
with the /create-payment-intent endpoint, but it contains sensitive information,
so I'm omitting it for now.

TL;DR:
- Define POST /create-payment-intent endpoint
- Include envStripeAPIKey in Context record
- Define a top-level Stripe module for making API calls
- Define types and instances that align with Stripes request and response types
- Depend on the Req library: a higher-level library than http-client
2020-08-20 11:26:30 +01:00
..
server Support POST /create-payment-intent 2020-08-20 11:26:30 +01:00
FlashCard.elm Support a FlashCard before showing the notes that comprise a chord 2020-04-19 15:32:20 +01:00
Icon.elm "Chord Drill Sergeant" -> "Learn Piano Chords" 2020-04-18 13:30:38 +01:00
Main.elm Support a FlashCard before showing the notes that comprise a chord 2020-04-19 15:32:20 +01:00
Misc.elm Tidy app 2020-04-18 14:58:16 +01:00
Overview.elm Create Tailwind module 2020-04-19 13:42:37 +01:00
Piano.elm Ensure the overlayButton is truly h-screen and w-screen 2020-04-19 13:14:18 +01:00
Practice.elm Display "Get ready..." message before practicing 2020-04-19 18:51:42 +01:00
Preferences.elm Restore support for whitelisted chord inversions 2020-04-19 18:36:22 +01:00
Responsive.elm Responsively size UI 2020-04-19 13:05:55 +01:00
State.elm Restore default view to Overview 2020-04-19 19:49:15 +01:00
Tailwind.elm Create Tailwind module 2020-04-19 13:42:37 +01:00
Tempo.elm Create Tailwind module 2020-04-19 13:42:37 +01:00
Theory.elm Correct all G_sharp pitch classes 2020-04-19 19:11:17 +01:00
UI.elm Support a FlashCard before showing the notes that comprise a chord 2020-04-19 15:32:20 +01:00