An e-commerce platform leveraging the power of static sites and FaaS
Libra is built using a few technologies/services:
- Middleman generates the site
- Netlify hosts it
- AWS Lambda (via Netlify) verifies transactions
- Stripe processes payments
A demo site can be found running at https://libra-shop.org.
To use Libra for your own store:
- create a Stripe account
- get your API keys (public and private)
- add products+skus in Stripe
- fork/clone this repository
- style files in the
sourcedirectory 🎨 - update
demo,site_name,stripe_key_public,copyright, andhostinconfig.rb
- connect your repository to Netlify
- add a build environment variable to Netlify for
STRIPE_KEY_SECRETwith the value of your private Stripe API key - update your domain information on Netlify and your DNS host
- update your
netlify.tomlGO_IMPORT_PATH key - update the
_redirectsfile appropriately