PostgreSQL

Litestore keeps all store data in one PostgreSQL 15+ database and relies on it to protect money and stock.

PostgreSQL

Your server
One Next.js app
Storefront
Admin
Marketing
PostgresOne database
  • The database itself rejects any edit or deletion of a row in the payment ledger.
  • Postgres finds matching products without an extension, and you don't run a separate search cluster.
  • Litestore connects through a pool of 25 connections with a 30-second timeout.
  • Run the app in the same region as the database, because the round trip to a database on another continent adds seconds to every request.

Related integrations

Connect PostgreSQL to your store

The guide explains every value you set and what Litestore does with it.