Click Below to Get the Code

Browse, clone, and build from real-world templates powered by Harper.
Blog
GitHub Logo

Skip the Boilerplate: How a Schema Can Power Your Entire Stack

Most apps start simple then accrete APIs, auth, caching, and realtime—Harper flips that by making your schema the app: define tables and relationships and you instantly get generated APIs, integrated caching, and pub/sub. This schema-defined approach lets teams prototype in hours and scale without glue code, extending with computed fields and custom APIs as needs grow.
Blog

Skip the Boilerplate: How a Schema Can Power Your Entire Stack

By
Aleks Haugom
August 28, 2025
By
Aleks Haugom
August 28, 2025
By
Aleks Haugom
August 28, 2025
August 28, 2025
Most apps start simple then accrete APIs, auth, caching, and realtime—Harper flips that by making your schema the app: define tables and relationships and you instantly get generated APIs, integrated caching, and pub/sub. This schema-defined approach lets teams prototype in hours and scale without glue code, extending with computed fields and custom APIs as needs grow.
Aleks Haugom
Senior Manager of GTM & Marketing

Every developer knows the rhythm of a new project: you start by modeling your data and writing just enough logic to prove the idea. With a couple of endpoints and a working schema, things feel simple.

But projects rarely stay simple for long. Pretty quickly, you need an API layer that can scale. Then comes authentication, validation, and query optimization. As the app grows, performance challenges prompt you to consider caching. And when users start expecting live updates, you’re wiring in real-time infrastructure.

None of these steps happens all at once, but they all happen eventually—and each new layer adds deployment, configuration, and maintenance overhead. What began as a straightforward schema definition gradually sprawls into a full stack of services you’re responsible for stitching together.

A Different Approach

Harper flips this process on its head. Because Harper fuses storage, APIs, caching, and real-time events into a single runtime, your schema doesn’t just describe your data, it defines your application.

The moment you declare tables and relationships, Harper automatically generates APIs, integrates caching, and enables publish/subscribe events. Instead of bolting on these layers later, they’re available from the start, working together by design.

This is what we call a schema-defined application: an approach where the schema becomes the foundation not just for your data model, but for your entire stack.

Why It Matters

Shifting to schema-defined apps doesn’t just save you setup time; it changes how you think about building software. You’re no longer piecing together infrastructure before you can even test your idea. Instead, you begin with a working application that evolves as your schema evolves.

For developers, it feels like skipping ahead, but without giving up control. You still decide what your schema looks like and how your APIs behave, but Harper removes the friction of wiring up the basics. For teams, it means faster delivery, cleaner architecture, and fewer moving parts to maintain.

Examples in Action

To make this more concrete, we’ve published a few schema-defined applications you can explore today:

  • How to Build a Social Graph Service
    Create a schema that models users, posts, and follower relationships, and you instantly get the APIs needed for actions like following or unfollowing someone, building a personalized feed, and even broadcasting updates in real time.

  • Building a Product Catalog and Shopping Cart
    Define products, categories, and shopping carts in your schema, and you’ll have a full e-commerce backend that supports product browsing, cart operations, and live inventory updates—without wiring together separate services.

  • Building a Calendar and Scheduling App
    Model users, events, and availability, and Harper provides the endpoints to create meetings, check for conflicts, and update schedules in real time, giving you a functional calendar service from a straightforward schema.

Each of these examples begins with nothing more than a schema and quickly evolves into a fully functional backend. No glue code, no extra infrastructure, just data models that turn directly into functionality.

Taking It Further

The schema is only the beginning. As your application matures, Harper enables you to refine it without compromising the simplicity of the schema-first approach.

Need to reduce client-side processing? Add computed properties that automatically derive new values right in your schema. Want to expose business-specific workflows or aggregations? Extend your app with custom functionality tailored to your needs.

You don’t lose the ease of schema-defined apps when you grow; you build on it. That means you can go from idea to prototype in hours, then scale into production without rewriting your foundation.

Next Steps

If you’re ready to see how schema-defined applications can accelerate your workflow, here’s where to start:

  1. Explore the examples linked above to see how schemas become apps in practice.
  2. Review the docs on calculated fields and custom APIs to understand how you can extend your app.
  3. Experiment with your own schema, define a few tables in Harper, and watch how quickly they transform into a working application.

Final Thoughts

Schema-defined applications don’t remove complexity from software development altogether—but they make sure you’re not carrying it before you have to. By placing the schema at the center of the stack, Harper eliminates the friction of setting up APIs, caching, and real-time functionality, allowing you to focus on building meaningful features.

If you’ve ever wished you could move from schema design straight to a working application, Harper makes that possible. Define your schema, and the rest of the stack comes alive.

Start building with Harper today →

Every developer knows the rhythm of a new project: you start by modeling your data and writing just enough logic to prove the idea. With a couple of endpoints and a working schema, things feel simple.

But projects rarely stay simple for long. Pretty quickly, you need an API layer that can scale. Then comes authentication, validation, and query optimization. As the app grows, performance challenges prompt you to consider caching. And when users start expecting live updates, you’re wiring in real-time infrastructure.

None of these steps happens all at once, but they all happen eventually—and each new layer adds deployment, configuration, and maintenance overhead. What began as a straightforward schema definition gradually sprawls into a full stack of services you’re responsible for stitching together.

A Different Approach

Harper flips this process on its head. Because Harper fuses storage, APIs, caching, and real-time events into a single runtime, your schema doesn’t just describe your data, it defines your application.

The moment you declare tables and relationships, Harper automatically generates APIs, integrates caching, and enables publish/subscribe events. Instead of bolting on these layers later, they’re available from the start, working together by design.

This is what we call a schema-defined application: an approach where the schema becomes the foundation not just for your data model, but for your entire stack.

Why It Matters

Shifting to schema-defined apps doesn’t just save you setup time; it changes how you think about building software. You’re no longer piecing together infrastructure before you can even test your idea. Instead, you begin with a working application that evolves as your schema evolves.

For developers, it feels like skipping ahead, but without giving up control. You still decide what your schema looks like and how your APIs behave, but Harper removes the friction of wiring up the basics. For teams, it means faster delivery, cleaner architecture, and fewer moving parts to maintain.

Examples in Action

To make this more concrete, we’ve published a few schema-defined applications you can explore today:

  • How to Build a Social Graph Service
    Create a schema that models users, posts, and follower relationships, and you instantly get the APIs needed for actions like following or unfollowing someone, building a personalized feed, and even broadcasting updates in real time.

  • Building a Product Catalog and Shopping Cart
    Define products, categories, and shopping carts in your schema, and you’ll have a full e-commerce backend that supports product browsing, cart operations, and live inventory updates—without wiring together separate services.

  • Building a Calendar and Scheduling App
    Model users, events, and availability, and Harper provides the endpoints to create meetings, check for conflicts, and update schedules in real time, giving you a functional calendar service from a straightforward schema.

Each of these examples begins with nothing more than a schema and quickly evolves into a fully functional backend. No glue code, no extra infrastructure, just data models that turn directly into functionality.

Taking It Further

The schema is only the beginning. As your application matures, Harper enables you to refine it without compromising the simplicity of the schema-first approach.

Need to reduce client-side processing? Add computed properties that automatically derive new values right in your schema. Want to expose business-specific workflows or aggregations? Extend your app with custom functionality tailored to your needs.

You don’t lose the ease of schema-defined apps when you grow; you build on it. That means you can go from idea to prototype in hours, then scale into production without rewriting your foundation.

Next Steps

If you’re ready to see how schema-defined applications can accelerate your workflow, here’s where to start:

  1. Explore the examples linked above to see how schemas become apps in practice.
  2. Review the docs on calculated fields and custom APIs to understand how you can extend your app.
  3. Experiment with your own schema, define a few tables in Harper, and watch how quickly they transform into a working application.

Final Thoughts

Schema-defined applications don’t remove complexity from software development altogether—but they make sure you’re not carrying it before you have to. By placing the schema at the center of the stack, Harper eliminates the friction of setting up APIs, caching, and real-time functionality, allowing you to focus on building meaningful features.

If you’ve ever wished you could move from schema design straight to a working application, Harper makes that possible. Define your schema, and the rest of the stack comes alive.

Start building with Harper today →

Most apps start simple then accrete APIs, auth, caching, and realtime—Harper flips that by making your schema the app: define tables and relationships and you instantly get generated APIs, integrated caching, and pub/sub. This schema-defined approach lets teams prototype in hours and scale without glue code, extending with computed fields and custom APIs as needs grow.

Download

White arrow pointing right
Most apps start simple then accrete APIs, auth, caching, and realtime—Harper flips that by making your schema the app: define tables and relationships and you instantly get generated APIs, integrated caching, and pub/sub. This schema-defined approach lets teams prototype in hours and scale without glue code, extending with computed fields and custom APIs as needs grow.

Download

White arrow pointing right
Most apps start simple then accrete APIs, auth, caching, and realtime—Harper flips that by making your schema the app: define tables and relationships and you instantly get generated APIs, integrated caching, and pub/sub. This schema-defined approach lets teams prototype in hours and scale without glue code, extending with computed fields and custom APIs as needs grow.

Download

White arrow pointing right

Explore Recent Resources

Blog
GitHub Logo

The Resource API in Harper v5: HTTP Done Right

Harper v5's Resource API maps JavaScript class methods directly to HTTP verbs, eliminating routing and translation layers. Tables extend the same Resource class, unifying HTTP handling and data access into one interface. Key v5 additions include pre-parsed RequestTarget objects, Response-aware source caching with stale-while-revalidate support, and async context tracking via getContext().
Product Update
Blog
Harper v5's Resource API maps JavaScript class methods directly to HTTP verbs, eliminating routing and translation layers. Tables extend the same Resource class, unifying HTTP handling and data access into one interface. Key v5 additions include pre-parsed RequestTarget objects, Response-aware source caching with stale-while-revalidate support, and async context tracking via getContext().
Person with very short blonde hair wearing a light gray button‑up shirt, standing with arms crossed and smiling outdoors with foliage behind.
Kris Zyp
SVP of Engineering
Blog

The Resource API in Harper v5: HTTP Done Right

Harper v5's Resource API maps JavaScript class methods directly to HTTP verbs, eliminating routing and translation layers. Tables extend the same Resource class, unifying HTTP handling and data access into one interface. Key v5 additions include pre-parsed RequestTarget objects, Response-aware source caching with stale-while-revalidate support, and async context tracking via getContext().
Kris Zyp
Apr 2026
Blog

The Resource API in Harper v5: HTTP Done Right

Harper v5's Resource API maps JavaScript class methods directly to HTTP verbs, eliminating routing and translation layers. Tables extend the same Resource class, unifying HTTP handling and data access into one interface. Key v5 additions include pre-parsed RequestTarget objects, Response-aware source caching with stale-while-revalidate support, and async context tracking via getContext().
Kris Zyp
Blog

The Resource API in Harper v5: HTTP Done Right

Harper v5's Resource API maps JavaScript class methods directly to HTTP verbs, eliminating routing and translation layers. Tables extend the same Resource class, unifying HTTP handling and data access into one interface. Key v5 additions include pre-parsed RequestTarget objects, Response-aware source caching with stale-while-revalidate support, and async context tracking via getContext().
Kris Zyp
News
GitHub Logo

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Product Update
News
Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM & Marketing
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
Apr 2026
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
Podcast
GitHub Logo

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Select*
Podcast
In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Person with short hair wearing a light blue patterned shirt, smiling widely outdoors with blurred greenery and trees in the background.
Austin Akers
Head of Developer Relations
Podcast

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Apr 2026
Podcast

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Podcast

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Blog
GitHub Logo

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Blog
Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM & Marketing
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Apr 2026
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Blog
GitHub Logo

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Blog
Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
A smiling man with a beard and salt-and-pepper hair stands outdoors with arms crossed, wearing a white button-down shirt.
Stephen Goldberg
CEO & Co-Founder
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Apr 2026
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Podcast
GitHub Logo

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Select*
Podcast
Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Person with short hair wearing a light blue patterned shirt, smiling widely outdoors with blurred greenery and trees in the background.
Austin Akers
Head of Developer Relations
Podcast

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers
Mar 2026
Podcast

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers
Podcast

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers