Education · own product

1Study — moving from Vercel and cloud Supabase to our own server without logging users out

The web, API, admin panel and database of a live platform moved from the cloud to our own server; 7,308 users did not have to sign in again.

1Study2026

The brief

Move the web, API, admin panel and database of a live platform from the cloud to our own server without logging users out or breaking installed mobile apps with hard-coded addresses.

What we did

The core was moved from Vercel to Docker behind our own Caddy (1 August 2026); a trimmed-down self-hosted Supabase stack — PostgreSQL, GoTrue, PostgREST, Storage — was set up on the same API domain. The data and file migration was rehearsed with scripts and checked against the cloud, and Apple and Google OAuth were reconfigured; a token-verification bridge was kept for old app builds, and a push notification asked them to update. Daily database and file backups were set up, with copies stored off the server.

How we did it

The most fragile part of such a move is sessions and installed apps. The API address is hard-coded in binaries in the stores, so the domain was kept and what stands behind it was changed. Users were migrated so that existing sessions kept working on the new stack, and a token-verification bridge was left for old builds.

The move went in two steps: first the web and API left Vercel for our own server, and a month later the database and authentication left cloud Supabase. The Supabase stack was set up trimmed down: only what the platform actually uses.

The data and file migration was rehearsed several times with checks against the cloud, and only then was production switched. The cloud project was deleted only on 13 November, more than two months after the switchover.

Result

The switchover was done on 3 September 2026: all working tables and 7,308 users were migrated, and sessions moved to the new stack without logging anyone out. On 13 November the cloud project was deleted.

7,308users migrated without logging out
2steps: Vercel, then Supabase

What the client got

Students and school staff did not notice the move — nobody had to sign in again

Installed apps kept working without an urgent update

The platform no longer depends on cloud providers' pricing and limits

Daily database and file backups are stored outside the main server

Discuss a project

Tell us about the task and we will reply with an estimate and a timeline.

No introductory call required: describe the task in the form or in a messenger, we will ask a few clarifying questions and come back with an estimate. This usually takes one or two working days.

We reply during working hours, usually within a couple of hours.
Chat on WhatsAppChat on Telegram