Marketing site, signup, and Stripe checkout for Crimata
  • Ruby 65.8%
  • HTML 30.4%
  • Dockerfile 3.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-16 20:15:59 +00:00
app Remove dashboard, route post-checkout to home 2026-03-01 21:57:07 -05:00
bin Add ActiveRecord, customer dashboard, separate DB architecture 2026-02-26 23:51:50 -05:00
config Remove dashboard, route post-checkout to home 2026-03-01 21:57:07 -05:00
db Add passwordless email auth with pre-checkout signup 2026-02-27 17:12:23 -05:00
lib Initial commit 2026-02-25 15:32:45 -05:00
log Initial commit 2026-02-25 15:32:45 -05:00
public Initial commit 2026-02-25 15:32:45 -05:00
storage Initial commit 2026-02-25 15:32:45 -05:00
tmp Initial commit 2026-02-25 15:32:45 -05:00
vendor Initial commit 2026-02-25 15:32:45 -05:00
.dockerignore Initial commit 2026-02-25 15:32:45 -05:00
.DS_Store Initial commit 2026-02-25 15:32:45 -05:00
.gitattributes Initial commit 2026-02-25 15:32:45 -05:00
.gitignore Initial commit 2026-02-25 15:32:45 -05:00
.ruby-version Initial commit 2026-02-25 15:32:45 -05:00
config.ru Initial commit 2026-02-25 15:32:45 -05:00
Dockerfile Add ActiveRecord, customer dashboard, separate DB architecture 2026-02-26 23:51:50 -05:00
fly.toml Add ActiveRecord, customer dashboard, separate DB architecture 2026-02-26 23:51:50 -05:00
Gemfile Add passwordless email auth with pre-checkout signup 2026-02-27 17:12:23 -05:00
Gemfile.lock Update Gemfile.lock with resend gem 2026-02-27 17:21:31 -05:00
LICENSE Add ActiveRecord, customer dashboard, separate DB architecture 2026-02-26 23:51:50 -05:00
Rakefile Initial commit 2026-02-25 15:32:45 -05:00
README.md Add README 2026-07-16 20:15:59 +00:00

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 to crimata-infra's /instances endpoint 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.