919 B
919 B
crimata-website
Marketing site and signup flow for Crimata. Rails 7 app handling passwordless (magic-link) login, pricing/checkout via Stripe, and kicking off instance provisioning once a subscription is created.
What it does
/and/pricing— marketing pages/login— passwordless magic-link auth/checkout/start— creates a Stripe Checkout session for the subscription/checkout/webhook— on successful payment, calls out tocrimata-infra's/instancesendpoint to provision the customer's instance
Running it
Needs Postgres, Stripe API keys, a Resend API key (for magic-link emails), and INFRA_SERVICE_URL pointing at a running crimata-infra instance.
bundle install
bin/rails db:create db:migrate
bin/rails server
Configured for deployment on Fly.io (fly.toml), but that hasn't been kept up to date since moving off Fly — expect some setup friction there.