# Replit consultant: taking a Replit Agent app to production.

> Replit Agent builds and publishes an app from a prompt, with a PostgreSQL database, secrets and hosting in one workspace. SBD works with teams whose Replit app now has customers or staff depending on it, and reviews and fixes its access checks, data handling and deployment. The review is $500 with a written report within a week.

- Canonical: https://smallbaydigital.com/integrations/tools/replit/
- Publisher: SmallBay Digital

## What SBD does with a Replit app

A Replit app usually has its own server, so the question is whether each API route checks who is asking before it reads or changes data. We call the routes directly without signing in and as each kind of user, read the server code and database setup, check secrets and deployment settings, and write down each finding with a price for the fix.

SBD has no published case study on Replit. The closest published work is [an operations tool with roles enforced on the server](https://smallbaydigital.com/case-studies/consulting-internal-tool/). It is not a Replit project, so read it as the standard we would hold your app to.

- Authentication and permission checks on every API route.
- Production data separated from development, with backups you have tested.
- Secrets kept in Replit Secrets and out of front-end code.
- Rate limits on sign-in and any route that calls a paid API.
- Error handling and alerts so failures reach a named person.

## What Replit's own checklist asks for

Replit publishes a security checklist for vibe-coded apps. It asks for authentication on every API endpoint, permission checks before each action, parameterised queries, rate limits, security headers and secure cookies, and it says API keys should stay on the server and live in Replit Secrets. Replit turns on HTTPS by default.

The checklist is sound, and generated apps often miss one or two items on it, usually a route that skips the permission check or a key copied into front-end code. We wrote a fuller version for founders in [Replit app to production](https://smallbaydigital.com/blog/replit-app-to-production-checklist/), and our [vibe-coded app audit](https://smallbaydigital.com/vibe-coded-app-audit/) checks each item against your code.

## Databases and deployment types on Replit

Replit's documentation describes a managed PostgreSQL database for structured data and App Storage for files, and Agent can set up both. Development and production databases are separate, and development databases are not charged. Keep it that way: an agent working against live data is how test edits end up in front of customers.

Replit offers four deployment types. Autoscale adjusts to traffic, Reserved VM runs all the time at a fixed size, Static serves sites that do not change per user, and Scheduled runs a job at set times. A published app is a snapshot, so changes in the workspace only reach users when you publish again.

## Moving the code out of Replit

Replit connects to GitHub and GitLab, so the code can live in a repository your company owns. We set that up early in a hardening job so every fix has a history, and agree who prompts the Agent and who commits, because two people changing the same branch from two directions is an easy way to lose a fix.

## When Replit is the right choice, and when it is not

Replit suits a team that wants a real server and database without setting up infrastructure, and a product still changing week to week. A prototype with no real data does not need our review.

Plan a different route in these cases:

- The app must run inside your own cloud account for compliance reasons.
- Staff need to change screens themselves without prompts or code. [Softr](https://smallbaydigital.com/integrations/tools/softr/) is usually easier for them.
- The data model is wrong at its core, so fixes would cost more than a rebuild. The audit report says which applies.

## How a Replit engagement with SBD works

Start with the [vibe-coded app audit](https://smallbaydigital.com/vibe-coded-app-audit/) at $500, with a written report within a week that lists each fix with a fixed price. [Harden](https://smallbaydigital.com/services/harden/) starts at $1,000 and takes about two weeks, and Rebuild starts at $8,000.

## Related

- [Vibe-coded app audit, from $500](https://smallbaydigital.com/vibe-coded-app-audit/)
- [Replit app to production](https://smallbaydigital.com/blog/replit-app-to-production-checklist/)
- [Exposed API keys in AI-built apps](https://smallbaydigital.com/blog/exposed-api-keys-ai-built-apps/)
- [Cursor app security review](https://smallbaydigital.com/blog/cursor-app-security-review/)
- [Harden service](https://smallbaydigital.com/services/harden/)
- [Lovable consultant](https://smallbaydigital.com/integrations/tools/lovable/)

## Sources

- Replit Docs: Security checklist for vibe-coded apps, checked 21 November 2026 <https://docs.replit.com/learn/security-checklist>
- Replit Docs: Storage and databases (PostgreSQL, App Storage, development and production databases), checked 21 November 2026 <https://docs.replit.com/learn/projects-and-artifacts/storage-and-databases>
- Replit Docs: Replit deployments (Autoscale, Reserved VM, Static, Scheduled), checked 21 November 2026 <https://docs.replit.com/learn/projects-and-artifacts/replit-deployments>
- Replit Docs: Connect your repository (GitHub and GitLab), checked 21 November 2026 <https://docs.replit.com/build/code/connect-your-repository>
