Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Template for a Next.js app using Dossier CMS and SQLite, with no auth and deploy targets for Docker, Fly.io, Netlify, and Vercel.
Dossier Next SQLite App is a starter template for building a content-managed Next.js application with the Dossier CMS and a SQLite database, requiring no authentication setup.
Dossier Next SQLite App is a project template that combines the Dossier content management system with Next.js and SQLite. It takes a schema defined by the developer and produces a running web app with content entities stored in a local SQLite file, ready to deploy. The template is maintained by DossierHQ and is designed to keep the stack minimal by omitting authentication entirely — all visitors act as the same anonymous user. In production mode, the app serves only published content as read-only and disables the Dossier web interface.
data/database.sqlite during local development; the file can be committed to Git to sync content state across machines.npm init using dossierhq/dossier-next-sqlite-app my-project generates a new project quickly.The getting-started flow is: initialize the project with npm init, install dependencies with pnpm, run pnpm run build, then pnpm start. The app starts at http://localhost:3000, where you can add entity types to the schema and create entities. For deployment, choose between Docker, Fly.io, Netlify, or Vercel using the provided configuration files and commands.
No. The template intentionally omits authentication; all users share the same anonymous user. In production mode, the app only serves read-only published content and disables the Dossier web interface, which protects data without requiring login.
Yes, but with a limitation: these serverless platforms do not support opening SQLite databases at runtime. Dossier can only be used at build time on Netlify and Vercel, meaning content is fetched during the build and rendered as static pages.
The database is created in data/database.sqlite when you run the app locally. Because it's a plain file, you can add it to Git and synchronize the content state between computers or include it in your deployments.
Run npm init using dossierhq/dossier-next-sqlite-app my-project, then change into the new directory, install dependencies with pnpm install, build with pnpm run build, and start with pnpm start. The app will be available at http://localhost:3000.
Yes. The repository hosts demos on Fly.io, Netlify, and Vercel, all built from the demo branch, so you can see the template in action before deploying your own copy.
