Will your Claude Code web app still work in 6 months?
In this video we ask Claude Code to build a CRM, then follow that app through six months of changes. We look at the stack Claude picks, the three places the app breaks, and why. Then we install Elements, build the same CRM with Claude Code on Elements, and make the same changes again.
Is a CRM built by Claude Code ready to deploy?
We ask Claude Code for a CRM, and twelve minutes later the app is running. Then we ask Claude one question: is this code maintainable, and can we deploy it? Claude answers, "I would not put real customers or money on it yet."
The app works today. The question for the rest of the video is whether it still works in six months, after Claude has changed it every day.
The stack Claude picks
We start over and ask Claude what a production app should be built with. Claude picks a stack based on what is popular on the internet. Claude has not reviewed each product in detail.
The list starts with 17 third party packages. Those packages pull in over 200 others. Over 50 different people and teams wrote them, and nobody built them to work together.
The app also needs seven separate tools:
- a package installer
- a type checker
- a test runner
- a bundler
- a migration tool
- a deploy host
- CI
A separate team built each tool. The tools do not talk to each other, and they do not share the state of the build.
Where the app breaks
A rename breaks the signup form. Claude renames a field from email to emailAddress. Fourteen places in the code still use the old name, so the signup form is broken. The type checker would report all fourteen, but only if Claude runs it on the full project after every change, and that takes longer as the app grows. The test runner does not know the type check failed, so it runs the tests against the broken code.
The deploy host does not run your tests. The host builds the code and releases it. The host does not run the tests first, and it does not migrate the database. A host that bills by usage also charges for every build and every visitor, including every crawler.
A database migration is run by hand. Adding one column means changing the database. The migration tool is not part of the build, so Claude or CI runs the migration by hand on the app database, with no test database and no tests on the new build. The same tool has a command that deletes the database, and the video shows two reports of Claude running that command.
Why Claude needs tools that work every time
Claude is great at writing code and at calling tools. Claude is also a statistical model: ask the same question twice and you can get two different answers, and sometimes an answer is wrong.
Claude can only work with the tools Claude is given. Claude will not stop to build a package installer, a type checker, a bundler, a test runner, a database migrator and a deployer while working on your app. Claude needs tools that do each of those jobs right, every time.
Install Elements and create an app
Elements is a build server and tooling, app framework, Postgres database and deployment, engineered from the ground up as an integrated system for building web apps with AI.
We open the terminal in VS Code and paste the install line from elements.dev (opens in a new tab). We create a new app, start it, and tell Claude what to build:
Terminalelements start
In the Claude desktop app, we paste the same install line and ask Claude to create an Elements app.
The Elements build server
Every Elements project has its own build server, a program that runs while you work. The editor, the terminal and Claude all connect to that build server, whether Claude is one agent or ten, and they share one build.
When Claude saves a file, the build server runs one build: install, type check, security analysis, bundle, test, migrate and release. Each step runs only on the files that changed and the files that depend on them, so a build takes milliseconds.
When Claude wants to know whether the code works, Claude runs one command, and the answer comes back in microseconds:
Terminalelements build
The Elements app framework
Elements comes with the app framework: reactive HTML, RPC, sessions, live tables, email, jobs and payments. We ask Claude Code to build the CRM again, on Elements, and the app has all of those from the first minute. Hundreds of packages become one package, @elements/app, and the seven tools become one tool connected to one build server.
The same six months on Elements
The rename. Claude renames email to emailAddress and saves the file. The build reports all fourteen errors, each with its file and line. Claude fixes them, the build turns green and all the tests pass.
The database. Database migrations are part of the build. Claude writes the change in a migration file in plain SQL. The build watches that file and applies the migration to the test database first, so Claude never runs a migration command.
The deploy. A deploy is one command, and in the video it finishes in under a second:
Terminalelements deploy
The deploy builds on every machine. It migrates the test database and runs the tests against it, then migrates the app database and releases on every machine at the same instant. A release either fully succeeds or nothing changes: if a step fails on any machine, every machine keeps running the release it was already running.
The machines are your own servers. Elements deploys to any Ubuntu server you reach over SSH, and each server runs a load balancer, your app and the build server. For more capacity, add a machine.
One monthly price per machine
Elements is licensed per machine. The price is predictable per month, not based on usage or other metered variables. Elements charges for the tooling, not the framework: the code your app runs on is MIT licensed, and everything you build is yours (licenses (opens in a new tab)).
Will your app still work in six months?
On Elements, every change Claude makes is built, tested and released the same way, every time. Install Elements from elements.dev (opens in a new tab) and build your app with Claude Code on Elements.
Add a comment