Marketing site, signup, and Stripe checkout for Crimata
- Ruby 65.8%
- HTML 30.4%
- Dockerfile 3.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| log | ||
| public | ||
| storage | ||
| tmp | ||
| vendor | ||
| .dockerignore | ||
| .DS_Store | ||
| .gitattributes | ||
| .gitignore | ||
| .ruby-version | ||
| config.ru | ||
| Dockerfile | ||
| fly.toml | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| Rakefile | ||
| README.md | ||
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.