Demo applications and reference architectures
Learn how you can use D1 within your existing application and architecture.
Demos
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.
Reference architectures
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.
- Fullstack Applications: Full-stack web applications leverage a combination of frontend and backend technologies, collectively forming a stack that powers the entire application. This technology stack encompasses various tools, frameworks, and languages, each serving a specific purpose within the development ecosystem.
- Retrieval Augmented Generation (RAG): Retrieval-Augmented Generation (RAG) is an innovative approach in natural language processing that integrates retrieval mechanisms with generative models to enhance text generation.
- Serverless global APIs: Serverless APIs represent a modern approach to building and deploying scalable and reliable application programming interfaces (APIs) without the need to manage traditional server infrastructure. These APIs are designed to handle incoming requests from users or other systems, execute the necessary logic or operations, and return a response, all without the need for developers to provision or manage underlying servers.