Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 3 min read

I vibe coded my own Uber with one prompt. The car really drives, and it cost 12 cents.

A ride app is a good test for an AI coding agent because it is a chain: pick a place, see a route, choose a ride, confirm, watch the car, pay. If one link is fake, the whole thing stops. So I opened an empty folder, typ

A ride app is a good test for an AI coding agent because it is a chain: pick a place, see a route, choose a ride, confirm, watch the car, pay. If one link is fake, the whole thing stops.

So I opened an empty folder, typed one paragraph, and let the agent work. Seven and a half minutes later I had Zipride: a city map drawn in code, a "Where to" sheet with saved places, three ride types with prices, a driver card, and a little car that drives along the route to the destination. It cost 12 cents of model use.

Here is the real run, sped up:

The prompt

Build a ride booking app like Uber, called Zipride, shown inside a phone frame in the middle of the page. A city map drawn in SVG with streets, parks and a river. A bottom sheet with a Where to field and five saved places. Picking a place draws the route on the map and offers three ride types with price and arrival time. Confirming shows a driver card, and a little car drives along the route to the destination, then a trip finished screen with the fare. Dark, modern design. Give it its own name, colours and logo; do not copy any brand. Plain HTML, CSS and JavaScript, no build tools and no installs.

Three things in that prompt did most of the work:

  • "A city map drawn in SVG." Without this line a model reaches for a maps service that needs a key and an account. Telling it to draw the map removes the one thing it cannot set up for you.
  • The whole trip, in order. "Picking a place draws the route… confirming shows a driver card… then a trip finished screen." Writing the flow as steps is what gets you an app you can click through, not one nice screen.
  • "Do not copy any brand." You get a product of your own (Zipride has its own logo and colours) instead of a lookalike.

What the agent actually did

  • It wrote the page, the styles and the app code.
  • It opened the app in its own browser and tested its own work before saying it was done.

That is the difference between a code generator and an agent: it does not stop at "the code is written". It uses the thing it made.

Then I asked for one more thing

Add a five star rating and a tip choice on the trip finished screen.

About a minute later the last screen had five stars and tip buttons, and the tip was added to the total. It did not rewrite the app; it changed the files that needed changing.

What it is, and what it is not

It is a real, working front end: you can click through a whole trip. It is not a ride service. There are no drivers, no payments, no real map and no servers. For a prototype, a demo, or the start of a real project, that is exactly the part you want done in minutes.

Try the same prompt

I used VibeCode.surf, a desktop AI code editor built around agents: they write the code, run it, and test it in a real browser on your own computer, with any model you choose. It runs on Mac, Windows and Linux and starts with a 7-day free trial.

Copy the prompt above, change the name, and see what yours looks like.

Disclosure: I am building VibeCode.surf. The app in the video was written by an AI agent, the narration is an AI voice, and this post was drafted with AI.

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.