Run Litestore on Vercel, in Docker or on your own server. The data stays yours.
Litestore is one app that uses a few outside services, and most of them have free plans.
Litestore stores your orders and customers here.
You can use any S3-compatible storage, like R2 or MinIO.
It sends order emails and sign-in links.
Shoppers can browse without it. Add it when you want to take payments.
You can have a working store on your computer in a few minutes.
The store won't start until every required key is set.
Once it works on your computer, you can put it online on Vercel or any Node.js server.
Run bun run db:deploy before the app starts.
Run the app in the same region as Postgres. On Vercel, you set the region in vercel.json.
bun run db:deploybun run buildbun run start/api/inngestSign in and buyPoint Inngest at /api/inngest so emails and scheduled tasks keep running.
Buy something yourself to check it all works.
When you host Litestore yourself, these jobs are yours.
Pull new changes from GitHub when you're ready.
Back up your database regularly. Most hosts can do it for you.
Keep secrets out of your code, and rotate them if they leak.
Serve your store over HTTPS. Vercel does this for you.
Our troubleshooting guide covers the problems people hit most.