Docs / Sections

Open documentation actions

Data and Storage

Choose databases, ORMs, provider setup, caching, search, uploads, and file storage.

Data choices decide where generated apps persist records, cache work, search content, and store files.

Database and ORM

The shared database category includes SQLite, PostgreSQL, MySQL, MongoDB, EdgeDB, Redis, and none. ORMs are ecosystem-specific in practice:

EcosystemORM or data layer
TypeScriptDrizzle, Prisma, Mongoose, TypeORM, Kysely, MikroORM, Sequelize, or none.
RustSeaORM, SQLx, Diesel, or none.
PythonSQLAlchemy, SQLModel, Tortoise ORM, or none.
GoGORM, sqlc, Ent, or none.
JavaSpring Data JPA or none.
ElixirEcto, Ecto SQL, or none.

Provider setup

--db-setup can add hosting/provider setup for Turso, Neon, Prisma Postgres, PlanetScale, MongoDB Atlas, Supabase, Upstash, Cloudflare D1, Docker, or none.

Storage-style services

Data-adjacent sections include:

  • Caching: Upstash Redis in TypeScript plus ecosystem-specific cache choices where supported.
  • Search: Meilisearch, Typesense, Elasticsearch, Algolia, and ecosystem-specific search paths.
  • File upload: UploadThing, FilePond, Uppy, or none.
  • File storage: S3, R2, Cloudinary, or none.

References