Demos and architectures
Learn how you can use D1 within your existing application and architecture.
Explore the following demo applications for D1.
- Jobs At Conf: A job lisiting website to add jobs you find at in-person conferences. Built with Cloudflare Pages, R2, D1, Queues, and Workers AI.
- Remix Authentication Starter: Implement authenticating to a Remix app and store user data in Cloudflare D1.
- JavaScript-native RPC on Cloudflare Workers <> Named Entrypoints: This is a collection of examples of communicating between multiple Cloudflare Workers using the remote-procedure call (RPC) system that is built into the Workers runtime.
- Workers for Platforms Example Project: Explore how you could manage thousands of Workers with a single Cloudflare Workers account.
- Staff Directory demo: Built using the powerful combination of HonoX for backend logic, Cloudflare Pages for fast and secure hosting, and Cloudflare D1 for seamless database management.
- Wildebeest: Wildebeest is an ActivityPub and Mastodon-compatible server whose goal is to allow anyone to operate their Fediverse server and identity on their domain without needing to keep infrastructure, with minimal setup and maintenance, and running in minutes.
- D1 Northwind Demo: This is a demo of the Northwind dataset, running on Cloudflare Workers, and D1 - Cloudflare's SQL database, running on SQLite.
Explore the following reference architectures that use D1:
- Composable AI architecture : The architecture diagram illustrates how AI applications can be built end-to-end on Cloudflare, or single services can be integrated with external infrastructure and services.
- Retrieval Augmented Generation (RAG)
- Ingesting BigQuery Data into Workers AI
- Optimizing and securing connected transportation systems
- Fullstack applications
- Serverless global APIs