Where it started
OneRagtime is a venture platform. Investors put money into startups through funds and single-deal vehicles, and a back office runs the rest: onboarding, compliance checks, signatures, valuations, quarterly reports. About €97M has gone through it since 2018.
When I joined as an intern in April 2023 there were six engineers and a designer. The back office had grown over years, with many people’s ideas of how things should work layered on top of each other. It ran, but every change took longer than it should, and it was due an overhaul.
Over the next two years people left one at a time and weren’t replaced. By mid-2025 we were two engineers, and I owned the architecture and the technical decisions. In late 2025 I made the case for a rewrite. I wrote the plan, led it, and wrote most of the code, about 85% of the new backend and back-office app by the time we switched over: the new UI, the new schema and backend, the data migration, and the hosting move. My colleague built features on top as we went.
How we moved it over
The thing I was most scared of was a launch weekend: switch everything over on a Friday and find out on Monday that someone’s investment shows the wrong amount. So we never had one big switch.
First, a new UI next to the old one. I rebuilt the back-office screens in Vue 3, built around how the team actually used them. The new version lived on its own domain and talked to the same old backend, while the old version stayed up on another. People could use whichever they liked. Over a few months more and more of the team stopped opening the old one, until nobody did.
Then, a new backend and schema. I designed a new schema (more on that below) and wrote an ETL script that takes a backup of the old database and produces a fully populated database in the new schema, rehearsed against production copies over about three months.
Last, the investor app. By then the new backend and the internal app shared one repository, so adding the investor-facing platform on top was much simpler.
About seven months in, we switched over completely.
I started this with Cursor and moved more and more to Claude as it went. Having everything in one clean repository helped the agents a lot, and the more patterns I wrote down, the better they followed them.
Bits that were harder than they looked
The schema. I redesigned it around how the product was actually used, not how it had grown. Four overlapping tables describing who is connected to whom became one relationship model. Documents scattered across models moved to one attachment model with named slots, some many-to-many tables became simple lists, and valuations got their own tables of precomputed results. The hard part was that every one of those decisions also had to map cleanly from the old data in the ETL script. By the end there were 101 tables instead of 154.
Getting the same numbers. Before the switch, I checked the new system’s portfolio numbers against the old one and went through every difference until the only ones left were changes we’d chosen on purpose.
Valuations. In the old system, saving a valuation set off a chain of saves across every related investment, around 1,500 queries for a large startup, and a recalculation could take minutes. Now one engine loads the startup’s data in 11 queries, computes every position in one pass and stores the results, so pages and totals just read them. A large startup takes about 0.3 s, and the whole portfolio around 7 s.
Changing database engine. Moving from MySQL to Postgres in the same step had its own traps. Postgres doesn’t move the id sequence along when you insert rows with explicit ids, so the next normal insert collides, and TRUNCATE ... CASCADE follows foreign keys much further than you’d expect. Both showed up on copies of production, long before the real run.
Background work. A lot of the platform happens outside a request: CRM and mailing-list syncs, daily emails, Slack alerts, document indexing, scheduled checks. That’s about 60 Celery tasks on Redis. Two rules saved us the most trouble. Tasks are queued only after the database transaction commits, so a worker never looks for a row that doesn’t exist yet. And anything that runs less often than hourly has to be a clock-time schedule, because a plain interval restarts its countdown every time the service redeploys, and some jobs would otherwise never run. A startup check refuses a schedule that breaks that rule.
Knowing when something breaks. With one or two engineers, nobody is watching dashboards, so the platform has to tell me. Every request is logged before the view runs, so even a crash leaves a record, with personal data redacted and a link to its Sentry issue. Server errors raise one Slack alert per problem, not one per request. It also alerts on failures that don’t crash anything, such as a third-party quota running out.
Moving the CRM in-house. In 2026 we moved investor relations and dealflow off Pipedrive and into the platform. I led the data side: I brought over more than 2,500 notes and activities an earlier import had missed. Records from our two Pipedrive accounts needed their own ids, because the two accounts’ ids overlapped. And a small alias map, checked with the team, means re-running the import matches known variants to the existing company.
Working with agents. Agents wrote a lot of the code, inside a process built for it: written specs before code, tests on every pull request, a preview environment with a copy of production data, and an automated review before anything merged.
Stack
Django, Django REST Framework and GraphQL on PostgreSQL, Celery with Redis for background jobs, and Vue 3 with Vite and Pinia for the apps. Railway runs the backend, Vercel runs the frontends, and GitHub Actions runs the tests and preview environments.