Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.replit.com/llms.txt

Use this file to discover all available pages before exploring further.

By the end, every Velocity car, availability slot, and reservation will still be there tomorrow.
Velocity after refresh showing the signed-in customer's My bookings list with two saved reservations and the fleet page with cars in the same order, both unchanged from before the refresh
You added sign-in to Velocity in Add login. But the cars in the fleet and the reservations customers make still disappear when the page refreshes — they only live in the browser. Add a database so everything persists.

Tell Agent to save the data

For Velocity, use Neon — Replit’s managed Postgres database. Neon handles concurrent bookings cleanly, scales with real customer traffic, and Agent provisions it automatically with separate Development and Production environments. There’s no Neon dashboard signup and no keys to paste. Agent will provision a Neon database, move the fleet and reservations from in-memory data into it, and add the overlap check so the same Lamborghini can’t get double-booked.
Agent chat after the Neon migration showing the verification checklist — overlap-prevention, signed-out blocking, user-scoped bookings, invalid date rejection, bad-car rejection — and a Checkpoint made just now indicator, alongside the Velocity preview rendering with the persisted fleet

Test that everything sticks

  1. Sign in to Velocity in Preview and reserve a car for next Saturday.
  2. Refresh the page. The reservation should still be there in “My bookings.”
  3. Restart the app from the Agent chat. The fleet and the reservation should both still be there.
  4. Try to reserve the same car on the same Saturday with a second account. Velocity should say the car isn’t available and offer a different date or car.
  5. Sign out and sign back in. Your reservation should still be there.
If a reservation disappears at any step, paste the exact symptom back to Agent: You can also ask Agent for a simple admin view to see what’s in the database:

Publish and confirm on the public URL

Agent’s Neon setup gives Velocity separate Development and Production environments out of the box. Publish Velocity again from the Agent chat or the Publishing tile, then open the public URL in a new tab. Replit wires the Production Neon credentials into the published deployment automatically — make a reservation on the public URL, refresh, and confirm it’s still there. Velocity now remembers every car, every available date, and every reservation. The next refresh won’t lose a single booking.

Improve it next

Add payments

Take a refundable deposit when a customer reserves a car.

Add integrations

Send each booking to the customer’s calendar.

Create a dashboard from data

Turn the saved reservations into utilization charts.

Need further help?

  • Reservations save in Preview but not on the public URL: ask Agent to confirm the Production Neon credentials are wired into the published deployment.
  • Data is hard to inspect: ask Agent to add a simple admin view that lists everything in the database.
  • You want to seed the fleet: ask Agent to add a one-time script that loads your real cars into the database.
  • You want a zero-setup database for a quick prototype: use Replit Database instead — it’s built into every Repl with no separate provisioning.