<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Serverpod - Medium]]></title>
        <description><![CDATA[Serverpod is an open-source, scalable app server, written in Dart for the Flutter community. On Medium we publish tutorials, tips and tricks, and announcements. - Medium]]></description>
        <link>https://medium.com/serverpod?source=rss----d34e7e4cff96---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Serverpod - Medium</title>
            <link>https://medium.com/serverpod?source=rss----d34e7e4cff96---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 16:34:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/serverpod" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Shipping a Flutter app in 2026]]></title>
            <link>https://medium.com/serverpod/shipping-a-flutter-app-in-2026-9987e49c36de?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/9987e49c36de</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[app-store]]></category>
            <category><![CDATA[google-play-store]]></category>
            <dc:creator><![CDATA[Jamiu Okanlawon]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 09:59:15 GMT</pubDate>
            <atom:updated>2026-10-30T09:59:13.777Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Pd4qg42UZ8rt9tU.jpg" /></figure><p>Your Flutter app is complete, and now you want to make it available to people in the App Store, Google Play, or both. If you haven’t published an app before, it’s hard to know what needs to be done and in what order. The instructions exist, but they’re spread across Flutter’s guides, two store consoles, and the documentation for any tools you use.</p><p>This guide connects them. It explains what publishing involves, what help you can get with the work, and how each stage leads to the next, with links to the official instructions for the details.</p><p>If you haven’t built your app yet, the <a href="https://docs.serverpod.dev/quickstart">Serverpod Quickstart</a> can help you create a Flutter app with a Serverpod backend and deploy it to <a href="https://serverpod.dev/cloud">Serverpod Cloud</a>. Come back here when it’s ready to publish.</p><h3>What publishing an app involves</h3><p>Publishing an app involves six main steps:</p><ol><li><strong>Create store account and app records:</strong> Each store needs a developer account, and each app needs a record that holds its store page, builds, and releases.</li><li><strong>Build and sign your app:</strong> Each store needs your app built for release and signed to show that it came from you.</li><li><strong>Create your store page and privacy answers:</strong> The store page is what people see before they install. Each store also asks about your app’s content and how it handles data.</li><li><strong>Test on real devices:</strong> Each store’s testing program gets your build to testers.</li><li><strong>Choose availability and submit for review:</strong> You decide where and how the app is offered, then send it to the store for review.</li><li><strong>Release your app:</strong> Once approved, your app goes live automatically or when you release it.</li></ol><p>You can work on some of these at the same time. For example, you can prepare your store page while your app is being built.</p><h3>Ways to handle the publishing steps</h3><p>You can do the publishing work manually, or use tools to automate much of it. The stores’ requirements and reviews stay the same either way. There are three common approaches, and which one fits depends on what you’re prepared to maintain:</p><ul><li><strong>Publishing manually:</strong> follow Flutter’s <a href="https://docs.flutter.dev/deployment/ios">iOS</a> and <a href="https://docs.flutter.dev/deployment/android">Android</a> release guides and complete each step in App Store Connect and the Play Console. For every new version, you build, upload, and submit again, and building for iOS requires a Mac. This suits you if you release rarely.</li><li><strong>Running your own automation:</strong> tools such as <a href="https://docs.flutter.dev/deployment/cd#fastlane">fastlane</a> automate release steps like building, uploading, and submitting. You can run them on your own machine or in a continuous integration and delivery (CI/CD) service such as GitHub Actions. You maintain the workflow and the store access it uses. This suits you if you want full control over your release workflow or already use a CI/CD service.</li><li><strong>Using a hosted service:</strong> <a href="https://docs.codemagic.io/yaml-quick-start/building-a-flutter-app/">Codemagic</a>, <a href="https://docs.bitrise.io/en/bitrise-ci/getting-started/quick-start-guides/getting-started-with-flutter-projects">Bitrise</a>, and <a href="https://docs.appcircle.io/build/platform-build-guides/building-flutter-applications">Appcircle</a> provide the build machines and run the release workflow for you. You configure the service and give it access to your store accounts. This suits you if you don’t want to maintain that setup yourself, or don’t have a Mac for iOS builds.</li></ul><p>Whichever tool you use to automate, you upload your app’s <a href="https://support.google.com/googleplay/android-developer/answer/9859348?hl=en">first version to Google Play</a> manually.</p><p>Here’s how these tools can help with each of the six steps:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6450e2211dae9d133e301bdefc939795/href">https://medium.com/media/6450e2211dae9d133e301bdefc939795/href</a></iframe><p>“No” means the service’s documentation doesn’t show a built-in way to do it. Codemagic, Bitrise, and Appcircle can also run fastlane in their workflows.</p><blockquote>An agent can help with any of these steps, from uploading a build to updating your app’s store description.</blockquote><h3>The publishing steps</h3><p>Each step below gives an overview of what to do, with links to the official instructions.</p><h3>1. Create your store accounts and app records</h3><p>Start by setting up a developer account for each store you’re targeting and creating your app’s entry there, called an app record.</p><p><strong>App Store:</strong> <a href="https://developer.apple.com/programs/enroll/">enroll in the Apple Developer Program</a>, then <a href="https://developer.apple.com/help/app-store-connect/create-an-app-record/add-a-new-app">add your app in App Store Connect</a>.</p><p><strong>Google Play:</strong> <a href="https://support.google.com/googleplay/android-developer/answer/6112435?hl=en">register for a Play Console developer account</a>, then <a href="https://support.google.com/googleplay/android-developer/answer/9859152?hl=en">create your app</a>. New personal accounts also need to <a href="https://support.google.com/googleplay/android-developer/answer/14316361?hl=en">verify access to an Android device</a>.</p><h3>2. Build and sign your app</h3><p>Whether you build and sign your app manually or a tool does it for you, each store expects the same thing:</p><p><strong>App Store:</strong> a build made with Xcode, which runs on macOS, and signed with your Apple distribution certificate and provisioning profile. <a href="https://docs.flutter.dev/deployment/ios">Flutter’s iOS release guide</a> covers both, and Apple’s <a href="https://developer.apple.com/news/upcoming-requirements/">upload requirements</a> list the Xcode and SDK versions it currently accepts.</p><p><strong>Google Play:</strong> an Android App Bundle signed with an upload key. <a href="https://docs.flutter.dev/deployment/android">Flutter’s Android release guide</a> covers both, and Google Play’s <a href="https://support.google.com/googleplay/android-developer/answer/11926878?hl=en">target API requirements</a> list the Android API level your build must target.</p><h3>3. Create your store page and privacy answers</h3><p>Your store page is what people see before they decide to install. Alongside it, each store asks about your app’s content and how it handles data. Both are part of what the store reviews. Answer the privacy and data questions from what your app actually does, including the third-party SDKs it uses.</p><p><strong>App Store:</strong> in App Store Connect, add your app’s name, description, and screenshots, following Apple’s <a href="https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications">screenshot specifications</a>, and fill in your <a href="https://developer.apple.com/app-store/app-privacy-details/">app privacy details</a>. If your app requires sign-in, provide <a href="https://developer.apple.com/help/app-store-connect/reference/app-information/platform-version-information">demo account details</a> for App Review.</p><p><strong>Google Play:</strong> in the Play Console, add your app’s name, description, and screenshots to your store listing, following Google’s <a href="https://support.google.com/googleplay/android-developer/answer/9866151?hl=en">image requirements</a>. Then complete the declarations on the <a href="https://support.google.com/googleplay/android-developer/answer/9859455?hl=en">App content</a> page, including access instructions if reviewers need to sign in, and fill in the <a href="https://support.google.com/googleplay/android-developer/answer/10787469?hl=en">Data safety form</a>. Your store listing and App content answers are part of the setup Google Play requires before you can run a closed test.</p><h3>4. Test on real devices</h3><p>Once you have a signed build, your app is ready for testing on real devices. Testing is recommended before every release and required for some new Google Play accounts.</p><p><strong>App Store:</strong> upload your build to App Store Connect and share it with testers through <a href="https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview">TestFlight</a>.</p><p><strong>Google Play:</strong> add your build to a <a href="https://support.google.com/googleplay/android-developer/answer/9845334?hl=en">testing track</a> and invite your testers. If your Google Play account is a personal account created after 13 November 2023, <a href="https://support.google.com/googleplay/android-developer/answer/14151465?hl=en">a closed app test is required</a> before you can publish your app. At least 12 testers must stay opted in continuously for 14 days, so it helps to line up testers early. You then apply for production access in the Play Console. That’s Google’s approval to publish your app on Google Play. Google reviews your application and may ask you to keep testing.</p><h3>5. Choose availability and submit for review</h3><p>Decide where your app will be available and at what price, then send it to the store for review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WogswGwB_ODBJo73.jpg" /></figure><p><strong>App Store:</strong> in App Store Connect, choose the <a href="https://developer.apple.com/help/app-store-connect/manage-your-apps-availability/manage-availability-for-your-app-on-the-app-store">countries or regions</a> where your app will be available and set its <a href="https://developer.apple.com/help/app-store-connect/manage-app-pricing/set-a-price">price</a>, which can be free. Both are required before you can submit. Choose a <a href="https://developer.apple.com/help/app-store-connect/manage-your-apps-availability/select-an-app-store-version-release-option">release option</a> for when an approved version goes live, then <a href="https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/submit-an-app">add your version to a submission and submit it for review</a>. If App Review finds a problem, check the <a href="https://developer.apple.com/app-store/review/guidelines/">App Review Guidelines</a>, <a href="https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/reply-to-app-review-messages">reply in App Store Connect</a> if needed, and <a href="https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/manage-a-submission-with-unresolved-issues">fix and resubmit</a>.</p><p><strong>Google Play:</strong> in the Play Console, choose the <a href="https://support.google.com/googleplay/android-developer/answer/7550024?hl=en">countries or regions</a> for your release and set your app as <a href="https://support.google.com/googleplay/android-developer/answer/6334373?hl=en">free or paid</a>. If you needed production access, wait until it’s approved. Then <a href="https://support.google.com/googleplay/android-developer/answer/9859348?hl=en">create a production release</a> with your tested build and <a href="https://support.google.com/googleplay/android-developer/answer/9859654?hl=en">send the changes for review</a> from the Publishing overview page. If Google finds a problem, <a href="https://support.google.com/googleplay/android-developer/answer/9842754?hl=en">check your app’s policy status</a> to see what was found, then fix the issue and resubmit, or appeal.</p><h3>6. Release your app</h3><p>Once the store approves your app, it can go live.</p><p><strong>App Store:</strong> if you choose automatic release in step 5, the approved version goes live without further action. If you choose manual release, <a href="https://developer.apple.com/help/app-store-connect/manage-your-apps-availability/select-an-app-store-version-release-option">release the version in App Store Connect</a> once its status changes to Pending Developer Release.</p><p><strong>Google Play:</strong> with standard publishing, your app goes live once Google approves your release. If you use <a href="https://support.google.com/googleplay/android-developer/answer/9859654?hl=en">managed publishing</a> for an update, approved changes wait until you publish them from the Publishing overview page. The <a href="https://support.google.com/googleplay/android-developer/answer/9859751?hl=en">publishing status</a> shows when your app is available on Google Play.</p><h3>What carries over to your next release</h3><p>Most of what you set up the first time stays in place. You reuse your developer accounts and app records. To keep them working, renew your Apple Developer Program membership each year and renew your Apple signing certificates before they expire. Your store page, privacy answers, and availability choices carry over too. Update them when your app or your plans change, and check the stores’ requirements before each release.</p><p>For each new version, you build and sign the update, test it, submit it for review, and release it. A new build and store review are required every time, and testing is recommended. If those repeated steps start to take up your time, that’s where your own automation, a hosted service, or an agent can help.</p><p>Now that you know what it takes to publish a Flutter app, start with step 1 if your app is ready, or use the <a href="https://docs.serverpod.dev/quickstart">Serverpod Quickstart</a> to build your next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9987e49c36de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/shipping-a-flutter-app-in-2026-9987e49c36de">Shipping a Flutter app in 2026</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bringing Flutter’s hot reload experience to the full stack]]></title>
            <link>https://medium.com/serverpod/bringing-flutters-hot-reload-experience-to-the-full-stack-75f3922b6362?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/75f3922b6362</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[hot-reload]]></category>
            <category><![CDATA[developer-experience]]></category>
            <dc:creator><![CDATA[Jamiu Okanlawon]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 09:11:25 GMT</pubDate>
            <atom:updated>2026-10-08T09:11:24.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*la9psNLu05fJRj7bXIgGSg.jpeg" /></figure><p>You’re testing a form a few screens into your Flutter app, with the fields already filled in. The spacing looks cramped, so you adjust it in the code and trigger a <a href="https://docs.flutter.dev/tools/hot-reload">hot reload</a>. The app picks up the change, and the form is still on screen with your values in it.</p><p>That’s the loop Flutter developers rely on. You change the code and see the result right where you were looking, so your attention stays on the feature instead of on getting back to it.</p><h3>When the change is on the server</h3><p>Now suppose the form books appointments, and you change the booking rule so appointments need at least 24 hours’ notice. That validation lives on the server, so Flutter’s hot reload doesn’t reach it.</p><p>If your server restarts to pick up new code, each edit to the rule looks like this. You save it, restart and wait for the server to come back up, and then try the booking. Do that for every tweak, and your usual Flutter rhythm of save and see becomes save, restart, wait, then see. And the wait might be enough to break your creative flow.</p><p>What if a server edit worked just like a Flutter one? You save it and try the booking again, without waiting for a restart.</p><h3>Full-stack hot reload with Serverpod</h3><p><a href="https://docs.serverpod.dev/how-it-works">Serverpod</a>, an open-source backend written in Dart for Flutter, works that way. During development, <a href="https://docs.serverpod.dev/concepts/server-fundamentals/running-your-server">serverpod start</a> runs your server, Flutter app, and database together in one session.</p><p>Because the server is written in Dart, Serverpod uses Dart’s hot-reload support to update it. When you edit the booking rule and save, the running server picks up the change without restarting. And by using an <a href="https://docs.serverpod.dev/concepts/data-and-the-database/database/embedded-postgres">embedded PostgreSQL database</a>, that experience extends to the database layer as well.</p><p>With Serverpod, you go straight from saving the rule to trying it out in the form you already have open. Want 48 hours’ notice instead? Change it, save, and try again. Each edit to the rule now fits the same save-and-see rhythm as a UI change.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2F6IwkVQ2Z04Y%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3D6IwkVQ2Z04Y&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2F6IwkVQ2Z04Y%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/817cf197f3f6595902e4b356f84bfbf9/href">https://medium.com/media/817cf197f3f6595902e4b356f84bfbf9/href</a></iframe><h3>When something goes wrong</h3><p>Hot reload also helps when something doesn’t behave as expected. Say a booking that should be accepted keeps getting rejected. You add a log line inside the server method that checks availability. Then you save and submit the booking again. The output shows what the method received, so you can make an informed decision about what to change next. Each time you add or adjust a log line in that method, the running session reloads it, so there’s no restart to wait for between tries. You keep debugging without losing your place.</p><p>A coding assistant can work the same way. Through Serverpod’s <a href="https://docs.serverpod.dev/concepts/cli/commands/mcp-server">Model Context Protocol (MCP) server</a>, it can read the server and Flutter logs from the running session and use what they show to decide its next step. Its edits to the availability method are hot reloaded too.</p><h3>Try it yourself</h3><p>If you’re choosing a backend for a Flutter app, it’s worth trying this before you decide. Start with the <a href="https://docs.serverpod.dev/quickstart">official Serverpod Quickstart</a>. Its agent-assisted guide helps you create a Serverpod project and run it locally with serverpod start. Once your project is running, change something on the server, save, and check the result from the app you already have open.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75f3922b6362" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/bringing-flutters-hot-reload-experience-to-the-full-stack-75f3922b6362">Bringing Flutter’s hot reload experience to the full stack</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Type-safe everything — Eliminate manual API glue code]]></title>
            <link>https://medium.com/serverpod/type-safe-everything-eliminate-manual-api-glue-code-1ac458e60132?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/1ac458e60132</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[type-safety]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[serverpod]]></category>
            <dc:creator><![CDATA[Jamiu Okanlawon]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 13:04:38 GMT</pubDate>
            <atom:updated>2026-10-01T14:05:07.124Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QQVVdJUVkPEq37A5.jpg" /></figure><p>Every Flutter app that talks to a backend needs some code you never really wanted to write. That includes an endpoint path, an HTTP request, JSON parsing, and a client model that must match the data defined on the server. None of it is the feature, but all of it has to stay correct.</p><p>When you maintain the code that connects to the server by hand, it has to change with the API. Add three fields to a response, and you’ll need to update the client model and parsing code before Flutter can use them. Each edit is small, but the server response, client model, and parser all have to stay in sync.</p><p>Serverpod, an open-source backend written in Dart for Flutter, takes a different approach. You define each model once, and Serverpod generates the model classes and serialization code for both your server and Flutter app. It also generates type-safe client methods from your endpoints. Those generated types let the Dart analyzer catch type errors before you run the app.</p><p>In this article, we’ll build a ride fare estimator, call it from Flutter, and then modify its API. We’ll see which parts of that change we need to write, which parts Serverpod generates, and how the analyzer catches a mismatch.</p><h3>How Serverpod connects the server and Flutter</h3><p>For our fare estimator, the app sends a pickup location and a destination. The server calculates the price and returns it with a currency code for Flutter to display.</p><p>A model describes the data your app sends or receives. An endpoint contains the Dart methods that your app can call on the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I75hL6SPEDTXlvNJ.jpg" /></figure><p>The serialization code turns Dart objects into a format that can be sent between the app and server. It turns received data back into Dart objects. Flutter calls the endpoint through a generated client method.</p><h3>Before we start</h3><p>If you haven’t installed Serverpod yet, follow the <a href="https://docs.serverpod.dev/installation">installation guide</a>. Then create a project:</p><pre>serverpod create tripquote</pre><p>Keep the recommended defaults during setup.</p><p>The project contains three packages. Here are the parts we’ll use, including the fare files we’ll add next:</p><pre>tripquote/<br>├── tripquote_server/lib/src/fare/   # Models and endpoint we&#39;ll add<br>│   ├── location.spy.yaml<br>│   ├── fare_estimate.spy.yaml<br>│   └── fare_endpoint.dart<br>├── tripquote_client/               # Generated client code<br>└── tripquote_flutter/lib/main.dart # Flutter code</pre><p>Open the tripquote directory, then start the project:</p><pre>cd tripquote<br>serverpod start</pre><p>Keep it running while you follow the tutorial. Serverpod watches your models and endpoints and regenerates the connecting code when they change.</p><h3>Build the fare estimator</h3><p>The fare estimator needs a pickup location and a destination. Start by defining a Location <a href="https://docs.serverpod.dev/concepts/data-and-the-database/models">model</a> for both.</p><p>Model definitions go in .spy.yaml files. Create tripquote_server/lib/src/fare/location.spy.yaml with:</p><pre>### A geographic point.<br>class: Location<br>fields:<br>  ### Degrees north of the equator.<br>  latitude: double<br>  ### Degrees east of the prime meridian.<br>  longitude: double</pre><p>Next, define the estimate that the server will return. Create tripquote_server/lib/src/fare/fare_estimate.spy.yaml with:</p><pre>### What a ride is expected to cost.<br>class: FareEstimate<br>fields:<br>  ### The estimated fare.<br>  fare: double<br>  ### ISO currency code, such as USD.<br>  currency: String</pre><p>With these models in place, let’s create an <a href="https://docs.serverpod.dev/concepts/endpoints-and-apis">endpoint</a> to calculate the estimate. We’ll use a base fare of USD 2.50 plus USD 1.20 per kilometer.</p><p>Create tripquote_server/lib/src/fare/fare_endpoint.dart with the following code. The helper functions calculate the distance and round the fare to two decimal places:</p><pre>import &#39;dart:math&#39;;<br>import &#39;package:serverpod/serverpod.dart&#39;;<br>import &#39;../generated/protocol.dart&#39;;<br><br>/// Estimates what a ride will cost.<br>class FareEndpoint extends Endpoint {<br>  /// Returns an estimate for a ride from [pickup] to [destination].<br>  Future&lt;FareEstimate&gt; estimateFare(<br>    Session session,<br>    Location pickup,<br>    Location destination,<br>  ) async {<br>    const baseFare = 2.50;<br>    const pricePerKm = 1.20;<br><br>    final distanceKm = _distanceKm(pickup, destination);<br>    final fare = baseFare + distanceKm * pricePerKm;<br><br>    return FareEstimate(fare: _round(fare), currency: &#39;USD&#39;);<br>  }<br>}<br><br>/// The great-circle distance between two points, in kilometers.<br>double _distanceKm(Location start, Location end) {<br>  const earthRadiusKm = 6371.0;<br>  final latitudeDelta = _toRadians(end.latitude - start.latitude);<br>  final longitudeDelta = _toRadians(end.longitude - start.longitude);<br>  final a =<br>      pow(sin(latitudeDelta / 2), 2) +<br>      cos(_toRadians(start.latitude)) *<br>          cos(_toRadians(end.latitude)) *<br>          pow(sin(longitudeDelta / 2), 2);<br>  return 2 * earthRadiusKm * asin(sqrt(a));<br>}<br><br>double _toRadians(double degrees) =&gt; degrees * pi / 180;<br>double _round(double value) =&gt; (value * 100).round() / 100;</pre><p>The <a href="https://docs.serverpod.dev/concepts/endpoints-and-apis/sessions">Session</a> parameter gives the endpoint access to server features such as logging and the database. It stays on the server, so Flutter only needs to send the two locations.</p><h3>Call the endpoint from Flutter</h3><p>When you save the endpoint from the previous section, Serverpod generates client.fare.estimateFare. It accepts two Location objects and returns a Future&lt;FareEstimate&gt;.</p><p>The template already sets up client in tripquote_flutter/lib/client.dart. Keep that file unchanged.</p><p>Create tripquote_flutter/lib/screens/fare_screen.dart with:</p><pre>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:tripquote_client/tripquote_client.dart&#39;;<br>import &#39;../client.dart&#39;;<br><br>class FareScreen extends StatefulWidget {<br>  const FareScreen({super.key});<br><br>  @override<br>  State&lt;FareScreen&gt; createState() =&gt; _FareScreenState();<br>}<br><br>class _FareScreenState extends State&lt;FareScreen&gt; {<br>  late final Future&lt;FareEstimate&gt; _estimate;<br><br>  @override<br>  void initState() {<br>    super.initState();<br><br>    _estimate = client.fare.estimateFare(<br>      Location(latitude: 6.5244, longitude: 3.3792),<br>      Location(latitude: 6.4281, longitude: 3.4219),<br>    );<br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Center(<br>      child: FutureBuilder&lt;FareEstimate&gt;(<br>        future: _estimate,<br>        builder: (context, snapshot) {<br>          if (snapshot.hasError) {<br>            return const Text(&#39;Could not load the fare.&#39;);<br>          }<br><br>          final estimate = snapshot.data;<br>          if (estimate == null) {<br>            return const CircularProgressIndicator();<br>          }<br><br>          return Text(fareLabel(estimate));<br>        },<br>      ),<br>    );<br>  }<br>}<br><br>String fareLabel(FareEstimate estimate) {<br>  return &#39;${estimate.currency} ${estimate.fare}&#39;;<br>}</pre><p>In tripquote_flutter/lib/main.dart, replace the greeting-screen import with:</p><pre>import &#39;screens/fare_screen.dart&#39;;</pre><p>In MyHomePage, replace body: const GreetingsScreen(), with:</p><pre>body: const FareScreen(),</pre><p>In MyApp, change the home-page title:</p><pre>home: const MyHomePage(title: &#39;Fare estimate&#39;),</pre><p>Keep the rest of main.dart, including await initializeClient(), unchanged.</p><p>The call to client.fare.estimateFare sends the pickup and destination to the server. The returned FareEstimate has typed fields, so our fareLabel function can read currency and fare directly.</p><p>Keep the server running and hot restart the Flutter app by pressing <strong>R</strong> in the serverpod start terminal. A successful request for these locations displays:</p><pre>USD 16.54</pre><p>You don’t write an HTTP request, specify an endpoint path, or maintain a matching model in Flutter. Serverpod generates the code needed to transfer the data between the app and server.</p><p>The endpoint’s documentation also appears in the generated client. Hover over estimateFare in your editor to read the description from the server code.</p><h3>Add more data to the response</h3><p>Suppose the app now needs to show a price range and tell the rider when surge pricing applies. It should still show a single fare when surge pricing does not apply.</p><h3>Try replacing the fare</h3><p>A first approach is to replace fare with two range fields. Replace the contents of tripquote_server/lib/src/fare/fare_estimate.spy.yaml with:</p><pre>### What a ride is expected to cost.<br>class: FareEstimate<br>fields:<br>  fareLow: double<br>  fareHigh: double<br>  currency: String</pre><p>Save the model, leaving the endpoint and Flutter code unchanged. Wait for serverpod start to process the change.</p><p>The Dart analyzer now reports errors in the server endpoint and the Flutter app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RPZDkAwKqeu4Tx4h.jpg" /></figure><p>Now update the endpoint to match the model. For this example, set the low price 10% below the estimate and the high price 15% above it. In tripquote_server/lib/src/fare/fare_endpoint.dart, keep the distance and fare calculations inside estimateFare. Replace only its return statement with:</p><pre>return FareEstimate(<br>  fareLow: _round(fare * 0.9),<br>  fareHigh: _round(fare * 1.15),<br>  currency: &#39;USD&#39;,<br>);</pre><p>Save both files and wait for serverpod start to finish regenerating. Leave the Flutter code unchanged.</p><p>The Dart analyzer now flags estimate.fare in fareLabel:</p><pre>The getter &#39;fare&#39; isn&#39;t defined for the type &#39;FareEstimate</pre><p>The generated FareEstimate no longer has fare, but our Flutter code still reads that field. The analyzer reports the mismatch before we run the updated app.</p><p>The first attempt removed a value the app still needs for ordinary pricing. We’ll keep fare and add the extra information alongside it instead.</p><h3>Keep the fare and add optional details</h3><p>Replace the contents of tripquote_server/lib/src/fare/fare_estimate.spy.yaml with:</p><pre>### What a ride is expected to cost.<br>class: FareEstimate<br>fields:<br>  ### The estimated fare, adjusted when surge applies.<br>  fare: double<br>  ### ISO currency code, such as USD.<br>  currency: String<br>  ### The low end of the fare range.<br>  fareLow: double?<br>  ### The high end of the fare range.<br>  fareHigh: double?</pre><p>The new fields have values only when surge pricing applies. The ? allows them to be null otherwise. The response always includes fare.</p><p>We’ll use priceSurge to turn surge pricing on or off in this example. When it is true, the server doubles the fare before calculating the range.</p><p>In tripquote_server/lib/src/fare/fare_endpoint.dart, replace the FareEndpoint class with the code below. Include the priceSurge line above the class, and keep the imports and helper functions unchanged:</p><pre>bool priceSurge = false;<br><br>/// Estimates what a ride will cost.<br>class FareEndpoint extends Endpoint {<br>  /// Returns an estimate for a ride from [pickup] to [destination].<br>  Future&lt;FareEstimate&gt; estimateFare(<br>    Session session,<br>    Location pickup,<br>    Location destination,<br>  ) async {<br>    const baseFare = 2.50;<br>    const pricePerKm = 1.20;<br><br>    final distanceKm = _distanceKm(pickup, destination);<br>    final fare = baseFare + distanceKm * pricePerKm;<br><br>    if (!priceSurge) {<br>      return FareEstimate(fare: _round(fare), currency: &#39;USD&#39;);<br>    }<br><br>    const surgeMultiplier = 2.0;<br>    final surgeFare = fare * surgeMultiplier;<br><br>    return FareEstimate(<br>      fare: _round(surgeFare),<br>      currency: &#39;USD&#39;,<br>      fareLow: _round(surgeFare * 0.9),<br>      fareHigh: _round(surgeFare * 1.15),<br>    );<br>  }<br>}</pre><p>Save the model and endpoint files. After regeneration, estimate.fare is valid again. The two new fields are also available in Flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LJ9TiCpsc0TZoy05.jpg" /></figure><h3>Display the new fields in Flutter</h3><p>In tripquote_flutter/lib/screens/fare_screen.dart, replace only fareLabel. Keep the client setup, request, and widget unchanged:</p><pre>String fareLabel(FareEstimate estimate) {<br>  final low = estimate.fareLow;<br>  final high = estimate.fareHigh;<br><br>  if (low != null &amp;&amp; high != null) {<br>    return &#39;${estimate.currency} $low to $high\nSurge pricing&#39;;<br>  }<br><br>  return &#39;${estimate.currency} ${estimate.fare}&#39;;<br>}</pre><p>When both range values are present, the display shows the range and indicates that surge pricing applies. Otherwise, it shows the single fare.</p><p>With priceSurge set to false, restart the server and Flutter app. The screen shows:</p><pre>USD 16.54</pre><p>Set priceSurge to true, then restart both again:</p><pre>USD 29.77 to 38.05<br>Surge pricing</pre><p>Restarting the server applies the changed flag. Restarting Flutter makes a new request.</p><p>The request stayed the same. We updated the model definition, pricing logic, and Flutter display. Serverpod generated the corresponding model classes and conversion code on both sides, along with the code that connects the endpoint to Flutter.</p><p>You write the contract. Serverpod generates the plumbing.</p><p>The same process works with more than the numbers and strings used in the example above. Enums, lists, maps, nested models, byte data, and UUIDs are a few of the other supported types. The <a href="https://docs.serverpod.dev/concepts/data-and-the-database/models">model documentation</a> covers the full set.</p><h3>Conclusion</h3><p>The code that connects your Flutter app to its backend has to be right. Maintaining it still takes time away from the feature you’re building, even with help from a coding agent. Serverpod reduces that maintenance, while the Dart analyzer helps catch type errors before you run the app.</p><p>To apply the same approach to another feature, <a href="https://serverpod.dev/blog/flutter-google-apis-server-side">learn how to call Google APIs from a Serverpod backend</a>.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ac458e60132" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/type-safe-everything-eliminate-manual-api-glue-code-1ac458e60132">Type-safe everything — Eliminate manual API glue code</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remastering the world’s first Flutter game in 3D]]></title>
            <link>https://medium.com/serverpod/remastering-the-worlds-first-flutter-game-in-3d-3d0413198f7e?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/3d0413198f7e</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[3d]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[vlidholt]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 11:33:25 GMT</pubDate>
            <atom:updated>2026-09-28T11:33:23.797Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mji55sZc2LP9XEOFTsM_Ow.png" /></figure><p>In 2016, I wrote SpaceBlast, the very first Flutter game, while working on the Flutter team at Google. Two years later, the game was featured in the keynote of the 1.0 Flutter release to showcase the framework’s rendering abilities. Writing the original game probably took a week or two. Now, it took just a single day to remaster it to modern Flutter. And, boy, has a lot happened in the past ten years. Here are the two versions of the game side by side.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2F5m-jlAPjJBk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3D5m-jlAPjJBk&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2F5m-jlAPjJBk%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2ec9683eaf9c3f055f79d2ead5c4da5b/href">https://medium.com/media/2ec9683eaf9c3f055f79d2ead5c4da5b/href</a></iframe><p>If you want to try it out, you can play <a href="https://spaceblast2.serverpod.space/">SpaceBlast 2</a> directly in your browser. You can also still play the <a href="https://spritewidget.dev/spaceblast/#/">old game</a>.</p><p>Here is how I brought SpaceBlast up to date and how you can build your own game.</p><h3>Converting the assets to 3D</h3><p>I wanted the remastered game to keep the feel of the original, just making everything better and in 3D. A bit like how Nintendo has kept the style and feel of the original Super Mario while modernizing their games.</p><p>As a first step, I needed to get the assets from their 2D sprites to 3D models. I tried a few different tools and approaches. For most of the sprites, what worked best for me was using the Meshy T2 model. It is specifically made to create low-poly models. As the ship and the enemies in the game are rather small, we don’t need too much detail. I set the polygon count to 300 for the models. Meshy can export the models in GLB format, which is what we want for our game.</p><p>For the asteroids in the game, using the original images as a reference for Meshy did not yield good results, as they came out really flat and odd-looking. To improve their quality, I first used Nano-banana to reimagine them as 3D rendered images. A tip for transformations like this is to place all the sprites in a single image at once. This way, you are more likely to get consistent results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RTsEcjhNzcKlYr32.jpg" /><figcaption><em>The original asteroids were reimagined as 3D-rendered by Nano-banana before being passed to Meshy T2.</em></figcaption></figure><p>The 3D assets generated by Meshy T2 had a low polygon count, but the textures were absolutely huge. Especially considering how small they are when displayed in the game. To fix this, I put all the assets in a folder and opened them up in Claude. I asked Claude to optimize the GLB files and to make their sizes match the sprites in the original game. The crystals and power-ups did not turn out great in Meshy, so I asked Claud to create new models for them. Claud did a decent job, but they don’t match the original game as well as the other assets.</p><p>To get a quick check of what all the new 3D models would look like in the game, I asked Claude to whip up a sheet of all the assets. This way, I could see that everything was up to snuff before I started building.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QnlVevi1TaR6079x.jpg" /><figcaption><em>A preview of all the 3D models.</em></figcaption></figure><h3>Building the game</h3><p>With all of the assets in place, it was time to start building the new version of the game. Instead of just using an empty Flutter project as the starting point, I created a new Serverpod project. There are two reasons for this. First, Serverpod sets up a great environment for agentic coding. It comes with AI agent skills and MCP servers, all configured out of the box. The second reason is that when the game is done, I can just publish it to Serverpod Cloud. Even though this game doesn’t have a backend, Serverpod Cloud is great for hosting Flutter web apps. It comes with a built-in fast CDN and all the necessary configurations in place. And who knows, maybe I want to build a high score list or some other backend feature in the future.</p><p>To build the actual game, I used Claude Code with Opus 5.5. Serverpod already installs the Flutter skills, but for 3D, I used the excellent <a href="https://pub.dev/packages/flutter_scene">flutter_scene</a> package. To get the skills for flutter_scene, I first added it to the pubspec.yaml, then ran dart run skills@ get.</p><p>To get the best results, we want to give the AI agent as much good context and reference material as possible. I like to create a reference directory in the project, where I place the material in a structured way. In this case, I provided the full old game, its assets, the original game engine, and all the new 3D models we created.</p><p>This is the full prompt I used to create the first version of the remastered game.</p><blockquote><em>Let’s build a 3d version of “SpaceBlast” a 2d Flutter game built with SpriteWidget. We want to build it with flutter_scene, targeting all platforms but primarily Flutter web. The full 2D game is in reference/spaceblast and SpriteWidget is available in reference/spritewidget . We want to replicate the gameplay perfectly but make it 3D. It shoud be AAA quality. 3D models and sprites are availabe in the spaceblast2/spaceblast2_flutter/assets directory.</em></blockquote><blockquote><em>Some important considerations: — Replicate the gameplay perfectly, we are still using the same 2D logic and the same level designs. — Just build the game for now, no server connection, we’re going to work on that later. — Make it look stunning like a professional game. I’m thinking particle explosions, fog, depth of field, stuff like that. — Where we don’t have 3d assets, let’s use the 2d assets from the old version of the game (or if you can programatically do them really good looking do that). I’m thinking of the parallax background, etc. — The “start” screen needs a redesign, but should have the same functionality as before. Perhaps we see a scene with the player’s spaceship from another angle that transitions into the game when we tap the play btton. — Primary target is Flutter web (currently running through `serverpod start`). — All game logic should happen on a fixed frame rate of 60 fps. — In the reference directory we also have the original game assets (reference/spaceblast_assets) plus our new 3D models and a project that renders them. It’s straight forward, but the crystals are having some bloom that we want to use in our game, so take inspiration from there. — Keep the mobile first aspect ratio of the original game, but make something a bit more interesting for the borders (but not too distracting from the game). Like a matching dark gradient that has some slight animation and perhaps changes with the gameplay (e.g., bosses).</em></blockquote><blockquote><em>Let’s go. Make an awesome game! Do not stop until you are done.</em></blockquote><p>I pressed the submit button and went out lindy hop dancing while Claud Code was puttering. What I saw when I came back blew me away. The full game was working close to perfectly. I didn’t agree with all the stylistic choices Claude made, and it probably took about half a day to get it to a state I was happy with.</p><p>At the end of the day, this little journey made me quite excited to start building games again. And it shows how far Flutter has come, not just as a toolkit for creating productivity apps, but also for serious game development.</p><p><em>Originally published at </em><a href="https://serverpod.dev/blog/flutter-3d-game"><em>https://serverpod.dev</em></a><em> on September 28, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d0413198f7e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/remastering-the-worlds-first-flutter-game-in-3d-3d0413198f7e">Remastering the world’s first Flutter game in 3D</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accessing Google APIs server-side from a Flutter app]]></title>
            <link>https://medium.com/serverpod/accessing-google-apis-server-side-from-a-flutter-app-cd76f65bbfab?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/cd76f65bbfab</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[serverpod]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Jamiu Okanlawon]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 14:59:44 GMT</pubDate>
            <atom:updated>2026-08-13T14:59:42.803Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwfmybwPC4OKdY1Tm5-cLw.jpeg" /></figure><p>Your Flutter app needs data that lives in a user’s Google account. Their calendar, their contacts, their files. Google’s APIs will hand it over, but not to just anyone: the user has to consent in your app, and your backend needs an access token that lets it act on their behalf.</p><p>That second part is where most Flutter developers get stuck, because it means OAuth credentials, token verification, authenticated sessions, and a backend to hold them.</p><p>With Serverpod, that backend comes with Google sign-in built in. When a user signs in, your server gets their verified identity and receives an access token. Reading their calendar is an HTTP call away.</p><p>In this article, we’ll wire it end-to-end: Google sign-in for a Flutter app, and a backend that reads the user’s upcoming calendar events the moment they sign in. We will demonstrate it with the calendar, but the pattern is the same for any Google API that the user can grant you access to.</p><h3>Understanding the flow</h3><p>Before configuring anything, it’s worth understanding the whole journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ku0_zIwgEx4qD2gjSi3DEg.png" /><figcaption>Google’s auth flow sequence</figcaption></figure><p>When a user signs in, your app asks Google for two things: proof of who the user is, and permission to read their calendar. Google shows the consent screen, and what comes back reaches your Serverpod backend.</p><p>The server verifies that the identity token was issued by Google, creates an authenticated session, and receives the access token that carries the user’s consent. That token is what lets your backend call Google’s APIs for this user.</p><p>The user grants access in your app. API access occurs on your server.</p><h3>Before we start</h3><p>We’ll begin with a new Serverpod project created using:</p><pre>serverpod create my_project</pre><p>During project creation, keep the recommended defaults and make sure Authentication remains enabled when prompted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkB9gsqOFrL6Ioxc7nAqlw.png" /><figcaption>serverpod start authentication prompt</figcaption></figure><p>The command gives you a Flutter app (my_project_flutter), the backend it talks to (my_project_server), and a generated client package that connects the two, so your app calls the server using plain Dart methods.</p><p>With the project in place, we’re ready to connect it to Google.</p><h3>Configuring Google</h3><p>Every Google integration begins in Google Cloud, regardless of which backend you’re using.</p><p>You’ll need to:</p><ul><li>Create a Google Cloud project.</li><li>Configure the Google Auth Platform.</li><li>Enable the required APIs: the People API, which Serverpod uses for basic profile data, and the Calendar API, which is used in this article.</li><li>Under Data access, add the userinfo.email, userinfo.profile, and calendar.readonly scopes.</li><li>Create a Web OAuth client for your backend, and any platform-specific clients your app needs.</li></ul><blockquote>The Calendar scope is sensitive, so Google may ask you to verify your app before you publish it. While it’s in testing mode, any account you add as a test user can sign in.</blockquote><p>The complete walkthrough, including platform-specific configuration for Android, iOS, and the web, is covered in the Serverpod <a href="https://docs.serverpod.dev/next/concepts/authentication/providers/google/setup#get-your-google-credentials">documentation</a>.</p><p>Once those credentials are ready, it’s time to connect them to Serverpod.</p><h3>Connecting Google to Serverpod</h3><p>The first step in connecting your backend to Google is making your Google credentials available to Serverpod.</p><p>Copy your Web OAuth credentials into config/passwords.yaml.</p><pre>development:<br>  googleClientSecret: |<br>    {<br>      &quot;web&quot;: {<br>        &quot;client_id&quot;: &quot;your-client-id.apps.googleusercontent.com&quot;,<br>        &quot;client_secret&quot;: &quot;your-client-secret&quot;,<br>        &quot;redirect_uris&quot;: []<br>      }<br>    }</pre><p>Serverpod reads these credentials at startup and uses them to verify Google identity tokens.</p><blockquote>The credential block is a YAML block scalar, so an indentation error silently produces malformed JSON and surfaces later as an authentication failure rather than an error at startup.</blockquote><p>The complete credential structure, along with production configuration options, is covered in the <a href="https://docs.serverpod.dev/next/concepts/authentication/providers/google/setup#store-your-credentials">documentation</a>.</p><h3>Register the Google provider</h3><p>Next, register Google as one of your application’s identity providers.</p><pre>pod.initializeAuthServices(<br>  tokenManagerBuilders: [<br>    JwtConfigFromPasswords(),<br>  ],<br>  identityProviderBuilders: [<br>    GoogleIdpConfigFromPasswords(),<br>  ],<br>);</pre><p>GoogleIdpConfigFromPasswords() reads the credentials from passwords.yaml and configures Google as an available authentication provider.</p><p>The final server-side step is exposing that provider through an endpoint.</p><pre>import &#39;package:serverpod_auth_idp_server/providers/google.dart&#39;;<br><br>class GoogleIdpEndpoint extends GoogleIdpBaseEndpoint {}</pre><p>That’s the entire endpoint.</p><p>Serverpod already provides the implementation. Your application exposes it, making the Google authentication flow available to your Flutter client.</p><h3>Reading the calendar from your server</h3><p>When a user signs in, Serverpod passes your code the access token via a callback in the provider config. Whatever you do with it runs on your server, with the user’s consent.</p><p>Add the http package to your server, then extend the provider registration:</p><pre>dart pub add http    # from my_project_server</pre><pre>// my_project_server/lib/server.dart<br><br>import &#39;dart:convert&#39;;<br>import &#39;package:http/http.dart&#39; as http;<br>pod.initializeAuthServices(<br>  // ... tokenManagerBuilders stay as they are ...<br>  identityProviderBuilders: [<br>    GoogleIdpConfigFromPasswords(<br>      getExtraGoogleInfoCallback: (<br>        session, {<br>        required accountDetails,<br>        required accessToken,<br>        required transaction,<br>      }) async {<br>        try {<br>          final response = await http.get(<br>            Uri.https(&#39;www.googleapis.com&#39;, &#39;/calendar/v3/calendars/primary/events&#39;, {<br>              &#39;maxResults&#39;: &#39;5&#39;,<br>              &#39;singleEvents&#39;: &#39;true&#39;,<br>              &#39;orderBy&#39;: &#39;startTime&#39;,<br>              &#39;timeMin&#39;: DateTime.now().toUtc().toIso8601String(),<br>            }),<br>            headers: {&#39;Authorization&#39;: &#39;Bearer $accessToken&#39;},<br>          );<br>          if (response.statusCode != 200) {<br>            session.log(&#39;Calendar request failed: ${response.statusCode}&#39;,<br>                level: LogLevel.warning);<br>            return;<br>          }<br>          final events = (jsonDecode(response.body)[&#39;items&#39;] as List?) ?? [];<br>          for (final event in events) {<br>            session.log(&#39;Upcoming: ${event[&#39;summary&#39;] ?? &#39;(no title)&#39;}&#39;);<br>          }<br>        } catch (e) {<br>          session.log(&#39;Calendar read skipped: $e&#39;, level: LogLevel.warning);<br>        }<br>      },<br>    ),<br>  ],<br>);</pre><p>That’s a real Google API call, made by your backend, for the user who just signed in. This example logs their next five events. Yours might store them instead.</p><p>There are two things to know about this callback.</p><p>First, it runs as part of the sign-in flow. If the calendar request fails and the error goes uncaught, the entire sign-in fails too. Treat the calendar read as optional: log the error and let sign-in continue.</p><p>Second, the access token passed to the callback is short-lived. It works well for reading calendar data immediately during sign-in. If you need to sync calendar data later, such as in a scheduled or background job, you’ll need to store the credentials and handle token refresh separately.</p><p>The same token works against any Google API covered by the scopes the user granted. The <a href="https://docs.serverpod.dev/next/concepts/authentication/providers/google/customizations#accessing-google-apis">documentation</a> covers how to request additional scopes and use the token in your own code.</p><h3>Running the application</h3><p>With the backend configured, it’s time to start the project.</p><pre>serverpod start</pre><p>That’s the only command it takes.</p><p>Besides launching your backend, Flutter application, and development services, serverpod start automatically generates any required code before starting the project.</p><p>If your authentication setup introduces new database tables, there’s no need to stop the server. While serverpod start is running, press <strong>M</strong> to create and apply the migration. Once it has been applied, development continues without interrupting your workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z3ZM6gobg699tMoUFv9uqA.png" /><figcaption>serverpod start tui with actions</figcaption></figure><p>With the backend running, the remaining setup happens in Flutter.</p><h3>Connecting Flutter</h3><p>The template already initializes authentication when the app starts. Adding Google is one more call in main.dart, right after client.auth.initialize():</p><pre>client.auth.initializeGoogleSignIn(<br>  serverClientId: &#39;&lt;web-client-id&gt;.apps.googleusercontent.com&#39;,<br>);</pre><p>The serverClientId is the Web application client ID from earlier, not one of the platform-specific ones. That’s deliberate: the sign-in happens in your app, but the tokens are for your server, and this value tells Google which server that is. On the web, the same value is used as clientId, along with a redirect URI. The <a href="https://docs.serverpod.dev/next/concepts/authentication/providers/google/setup#initialize-the-google-sign-in-service">documentation</a> includes the exact call for each platform.</p><p>Then ask for the calendar scope when the user signs in. The sign-in screen that ships with the template uses SignInWidget, which accepts a customized Google button:</p><pre>SignInWidget(<br>  client: client,<br>  googleSignInWidget: GoogleSignInWidget(<br>    client: client,<br>    scopes: [<br>      ...GoogleAuthController.defaultScopes,<br>      &#39;https://www.googleapis.com/auth/calendar.readonly&#39;,<br>    ],<br>  ),<br>)</pre><p>The scopes here are what Google puts on the consent screen and what your server’s access token is allowed to do.</p><h3>Trying it out</h3><p>Run the app and tap the Google button.</p><p>The consent screen now asks for calendar access alongside the usual profile permissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gaTSrXGrM_-JFXZypB1fWQ.png" /><figcaption>Google’s consent page for calendar access</figcaption></figure><p>Approve it, and watch your server’s logs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uU-9gkQ4fVbI_mrvYjoIeQ.png" /><figcaption>serverpod start tui logs with calendar events</figcaption></figure><p>Your backend just called Google on the user’s behalf. Sign-in, verification, session, and a working API call, and the only authentication code you wrote was a callback.</p><h3>A pattern you’ll reuse</h3><p>The calendar was just an example. Change the scopes you request, and the endpoint you call, and the same flow reads Google Drive files, Contacts, or YouTube data. Add another identity provider, and the same four steps repeat: configure the provider, register it with Serverpod, expose its endpoint, and initialize it in Flutter.</p><p>The provider-specific configuration changes, but the authentication architecture stays the same. That consistency is one of the advantages of Serverpod’s authentication system. As your application grows, you don’t have to rethink your authentication flow. You just plug in another provider, or another API, and keep building.</p><h3>Conclusion</h3><p>Accessing Google APIs from a Flutter app has a reputation for being complicated, and most of that reputation stems from the requirements Google imposes, no matter what backend you use: credentials, consent, and verification. Once those are in place, Serverpod’s side is a config entry, an empty endpoint class, and a callback that receives a ready-to-use access token.</p><p>From there, Serverpod handles verifying identity tokens, creating authenticated sessions, and maintaining consistent authentication across your application. What you do with the APIs is up to you.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd76f65bbfab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/accessing-google-apis-server-side-from-a-flutter-app-cd76f65bbfab">Accessing Google APIs server-side from a Flutter app</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverpod 4 — Tech preview]]></title>
            <link>https://medium.com/serverpod/serverpod-4-tech-preview-d9facccbba66?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/d9facccbba66</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Serverpod]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 13:29:32 GMT</pubDate>
            <atom:updated>2026-06-09T13:30:58.204Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, we’re thrilled to share a tech preview of Serverpod 4. The first agentic coding engine that hot-reloads the full stack and can run locally on your computer. If you are a developer, this will forever change the way you think about building apps. We are finally closing the loop between your app’s output, the backend, and your AI agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCKHt4i6W37weY_K2pinyA.jpeg" /></figure><p>👉 <a href="https://serverpod.dev/discord"><strong>Join us on Discord</strong></a><strong> to be among the first ones to try it out.</strong></p><p>Here is what makes Serverpod 4 radically different: Sub-second stateful hot reload across the server, database, web, and app. Everything is wired up to your favorite AI agent through a tried and tested MCP server and skills. We’ve added an embedded Postgres database; there’s no need for complex setup or Docker containers. Everything just works.</p><p>You can literally see your app evolving as the agent works. No recompilation. No restart. No wait.</p><p>Serverpod 4 runs locally on your computer, and with Flutter for the frontend, your app runs at native speed on any platform. And did we say that it’s all free and open source?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2Fiize2vmgQZs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3Diize2vmgQZs&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2Fiize2vmgQZs%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/85d2c84d9284248090c64426383465e5/href">https://medium.com/media/85d2c84d9284248090c64426383465e5/href</a></iframe><h3>What’s in the package?</h3><p>Serverpod is an open-source, scalable backend written in Dart for the Flutter community. It provides end-to-end type safety all the way from the database to the client app, catching many errors before the app is even started. You can add a method on the server and call it from your app as if it were a local method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qYCB7HHuo29Fzq-e.jpg" /></figure><p>New in Serverpod 4 is a complete full-stack runtime for agentic coding. One of Flutter’s core strengths has always been its stateful hot reload. We are now bringing this to the server and to the database. The serverpod start command will manage your full stack, including the Flutter app. Whenever you make a change to your code, database schema, or frontend, Serverpod will pick up the changes and instantly hot-reload them.</p><p>Your AI agent can interact with the running server through a new MCP server. It can create and apply database migrations, read logs, and even drive the app, taking and reviewing screenshots. The bundled rules and skills turn the AI agent into a senior Serverpod developer, and even lower-tier models understand how to write reliable, testable code.</p><p>We are still working hard to iron out the last couple of issues, but we are getting very close to a final release. We cannot wait to see what you will build with Serverpod.</p><p><em>Originally published at </em><a href="https://serverpod.dev/blog/serverpod-4-preview"><em>https://serverpod.dev</em></a><em> on June 8, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9facccbba66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/serverpod-4-tech-preview-d9facccbba66">Serverpod 4 — Tech preview</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Relic 1.0 — A modern web server for Dart]]></title>
            <link>https://medium.com/serverpod/relic-1-0-a-modern-web-server-for-dart-ddf205a8f34c?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/ddf205a8f34c</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dartlang]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Serverpod]]></dc:creator>
            <pubDate>Tue, 10 Feb 2026 14:51:49 GMT</pubDate>
            <atom:updated>2026-02-10T14:51:48.599Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, we’re thrilled to announce the launch of <strong>Relic 1.0</strong>, a modern, fully typed, and production-ready web server built specifically for Dart. If you’ve ever used <a href="https://pub.dev/packages/shelf"><strong>Shelf</strong></a>, or even just considered Dart for backend development, Relic is something you should absolutely take a look at.</p><p>Relic brings the performance, type safety, and developer ergonomics Dart developers have been waiting for — and it’s available now on <a href="https://pub.dev/packages/relic"><strong>pub.dev</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*SUKfEfLhlfxqSQtbfEQJog.jpeg" /><figcaption>Relic — A modern web server for Dart</figcaption></figure><h3>Why We Built Relic</h3><p>Shelf has been a core part of the Dart backend story for years. It offers composable handlers, simple middleware, and a clean functional model. But as Dart has evolved with sound null safety, improved async capabilities, and a growing full-stack ecosystem, Shelf has started to feel old.</p><p>At <a href="https://serverpod.dev/"><strong>Serverpod</strong></a>, we needed a more modern foundation for our framework. So we built Relic: a web server that keeps everything great about Shelf and upgrades everything else.</p><p>Routing, type safety, performance, and ergonomics; it all gets a serious upgrade.</p><h3>What makes Relic different?</h3><p><strong>Full type safety.</strong> Headers, cookies, and even context values are strongly typed. Say goodbye to raw strings and runtime bugs. With Relic, you get compiler checks, IDE autocomplete, and safer refactors.</p><p><strong>Lightning-fast routing.</strong> Relic uses a trie-based router to efficiently handle thousands of routes. Path parameters are clearly defined and type-safe, so route handling is both performant and predictable.</p><p><strong>Built-in static file support.</strong> Relic serves static assets with correct MIME types, ETags, and cache headers. Cache busting is supported out of the box, giving you better control over how files are delivered and updated in the browser.</p><p><strong>WebSockets, no setup required.</strong> Relic includes first-class support for WebSockets. You can upgrade a connection and start streaming data in seconds — ideal for live dashboards, chat apps, and real-time updates.</p><h3>Battle-tested and Reliable</h3><p>Relic isn’t just a new library; it’s already powering the full Serverpod framework and our production infrastructure. It’s used in production by thousands of apps. It’s secured by over <strong>3,000 tests</strong> with <strong>92% coverage</strong>, and already sees over <strong>40,000 downloads per month</strong>.</p><p>You also get a top-tier developer experience:</p><ul><li>Hot reload that works out of the box.</li><li>Helpful error messages.</li><li>Full, easy-to-navigate <a href="https://docs.dartrelic.dev/"><strong>documentation</strong></a> packed with examples.</li></ul><h3>Migrating from Shelf</h3><p>Already using Shelf? We’ve got some good news. Migration is easy.</p><p>Relic retains the familiar handler structure while offering a cleaner API. With AI-powered migrations using Antigravity, complete projects can typically be converted in a single shot.</p><p>There’s a full migration guide with step-by-step instructions in our documentation. You don’t have to rewrite your server. Just upgrade it.</p><h3>Get started</h3><p>Relic 1.0 is live on <a href="https://pub.dev/packages/relic">pub.dev</a>. Or, just run dart pub add relic, and you’re good to go.</p><p>Explore the documentation at <a href="https://docs.dartrelic.dev"><strong>docs.dartrelic.dev</strong></a> for tutorials, references, and migration guides. And if you want to contribute or connect with the team, check out the <a href="https://github.com/serverpod/relic"><strong>GitHub</strong></a> repo or join our <a href="https://serverpod.dev/discord"><strong>Discord</strong></a>.</p><p>Relic is fast, typed, and built for the real world. We can’t wait to see what you build with it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddf205a8f34c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/relic-1-0-a-modern-web-server-for-dart-ddf205a8f34c">Relic 1.0 — A modern web server for Dart</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverpod 3, “Industrial”–Robust authentication and a new web server]]></title>
            <link>https://medium.com/serverpod/serverpod-3-industrial-robust-authentication-and-a-new-web-server-5b1152863beb?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/5b1152863beb</guid>
            <category><![CDATA[dartlang]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Serverpod]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 15:52:12 GMT</pubDate>
            <atom:updated>2025-12-09T15:52:12.526Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, the Serverpod team is thrilled to pull back the curtain on Serverpod 3, code-named “Industrial”. This release isn’t just an update; it’s a massive leap forward for server-side Dart, cementing Serverpod as the definitive backend solution for Flutter teams. Since the last major release, the team has shipped over 80 new features. Serverpod 3 brings some of the most significant changes yet: A completely reworked web server and a brand-new authentication system.</p><p>👉 <a href="https://www.youtube.com/watch?v=Mjc8M5fKlSs"><strong>Watch the keynote here</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*F79oq9L94wkPPJbYDjU7kA.jpeg" /><figcaption>Serverpod 3 code name “Industrial”</figcaption></figure><p>We named this release “Industrial” because, with the enhanced security and modularity of the new authentication package and the underlying robustness of the new architecture, Serverpod is moving into the next stage of production readiness.</p><h3>What’s Serverpod?</h3><p>For those new to Serverpod, our mission is simple. We provide an open-source backend for Flutter teams that want to stay in Dart, from the user interface all the way through to the database.</p><p>With Serverpod, you get a Dart-first connection to your database, advanced caching, world-class logging, robust authentication, file uploads, real-time streaming, comprehensive health checks, and zero-configuration deployments. It’s all designed so a Flutter team can own the full stack without needing to become DevOps experts.</p><p>In this post, we are doing a deep dive into everything new in Serverpod 3, focusing on the new web server and authentication module, alongside powerful improvements to the database layer, data models, and the overall developer experience.</p><h3>The engine room: A reworked web server</h3><p>The first major component is the completely <strong>reworked web server</strong>, which is now built on top of Relic. Relic is our new low-level web server. It’s a significant evolution of the classic Dart web framework Shelf, but with massive improvements in its APIs, performance, and reliability. Relic injects a host of new features into Serverpod, including:</p><ul><li>Native support for middleware.</li><li>Efficient serving of static files.</li><li>Built-in cache busting.</li></ul><p>This means that you can now reliably host more than just your backend on Serverpod. You can serve your Flutter web app, build landing pages, and create custom REST APIs and webhooks. This is a monumental step for the Dart ecosystem as Dart can now be used for everything. You can now share code and logic across all these environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTZ8bNXZ7XtujCKvXiB_Tg.png" /></figure><h3>The security vault: Brand-new authentication</h3><p>Security and ease-of-use were the driving forces behind the <strong>brand-new authentication module</strong>. It was rebuilt from the ground up to be more flexible, more modular, and dramatically easier to implement.</p><ul><li><strong>Architectural choice: </strong>Choose between JWT-based authentication or traditional server-side sessions based on architecture and security needs.</li><li><strong>Built-in providers:</strong> Out-of-the-box support for Email, Google, and Apple sign-in.</li><li><strong>Customization: </strong>Support for two-factor authentication and plugging in custom identity providers.</li></ul><h4>The AuthUser class</h4><p>A new <em>AuthUser</em> class now provides a clean, unified representation of the authenticated user, giving direct access to their tokens, scopes, and associated identities. Need custom data? Just connect it to a custom model to extend its capabilities.</p><h4>Decoupled UI Components</h4><p>Beautiful, ready-to-use UI components have been introduced for sign-in flows. Crucially, these components are fully decoupled from the authentication engine. This allows you to adopt the default screens for speed or build a custom design while keeping the powerful, consistent logic. To power this system, new core packages like <em>serverpod_auth_core</em> and <em>serverpod_auth_idp</em> have been introduced. For existing users, the team is developing robust migration tools for legacy authentication setups, ensuring you can upgrade your Serverpod 2 application without losing any of your existing users.</p><h3>Database: The data powerhouse</h3><p>Serverpod’s ORM has gained serious capabilities since version 2, making it a true powerhouse for modern applications.</p><h4>AI, RAG, and semantic search</h4><p>Powerful <strong>vector database support</strong> was added, making it trivial to build apps utilizing Retrieval Augmented Generation (RAG), semantic search, and other cutting-edge AI solutions directly within a Serverpod application.</p><h4>Security by default: UUIDs as keys</h4><p>With full support for <strong>UUIDs as database IDs</strong>, you no longer have to expose incremental IDs to your client. This prevents ID guessing attacks if IDs are used in the API. To adopt this security measure, simply set the ID field’s type to UUID in the model definition.</p><h4>Improved transactions</h4><p>A typed interface is now provided for managing transaction isolation levels and savepoints, giving safer, more reliable database operations.</p><h4>Partial updates</h4><p>Improve efficiency and lower i/o costs with partial updates. This also allows for HOT updates, which avoid updating indexes and significantly boost the performance of write operations.</p><h3>Datamodels: Clean, type-safe code</h3><p>Major improvements have been made in how you can define and work with your data models in Serverpod 3.</p><h4>Model inheritance and sealed classes</h4><p>The models now support <strong>inheritance</strong>. You can define shared fields across multiple models in a clean, type-safe manner. This feature includes support for <strong>sealed classes</strong>, which is a massive win for streaming data. It gives a fully typed interface on the client side, guaranteeing that all possible data types and cases transmitted by the backend are handled.</p><h4>Immutable models</h4><p>Data models can now be declared <strong>immutable</strong>. While it’s a matter of preference, immutable models can help avoid hidden side effects, resulting in more reliable methods and easier testing.</p><h3>Streaming, testing, and developer experience</h3><p>Since version 2, Serverpod has introduced <strong>streaming endpoint methods</strong>, allowing the backend to return a Stream instead of a Future. This is perfect for chat apps, live dashboards, or games. Serverpod transparently handles the underlying WebSockets, routing, and connection life cycles.</p><p>Beyond that, the team has added:</p><ul><li>A comprehensive <strong>testing framework</strong>.</li><li>Enhanced <strong>logging and diagnostics</strong>.</li><li>Enhanced project templates and a more intuitive CLI.</li></ul><p>We like to think that our focus is on managing all the hard, tricky parts of the backend, so that you can focus on the fun stuff.</p><h3>Community updates</h3><p>Serverpod is built by a dedicated full-time team, but we couldn’t have made it this far without our incredible community. We’d like to extend a huge thank you to everyone who has contributed code, suggested features, and reported bugs. Your efforts are the most rewarding part of our work and help us push the boundaries of Dart on the backend.</p><p>The team wants to personally highlight a few contributions that became key features in Serverpod 3:</p><ul><li><strong>Ben Auer at Marqably:</strong> Added support for <strong>inheritance in models</strong>.</li><li><strong>Code Brothers:</strong> Contributed support for <strong>immutable models</strong>.</li><li><strong>Marcello Soares:</strong> Contributed both the <strong>new UUID feature</strong> and <strong>vector database support</strong> last spring. Marcello has now joined the Serverpod team full-time and has been a major force behind the new authentication package.</li></ul><p>There are countless other smaller improvements and bug fixes, including safer enum serialization, deprecated API removals, improved testing, clearer error messages, and overall cleaner defaults. All the details can be found in the extensive changelog.</p><p>Speaking of community, the official <a href="https://serverpod.dev/discord"><strong>Serverpod Discord server</strong></a> was recently opened. Join there to chat with the team, meet other Serverpod users, or get early access to upcoming features.</p><h3>How Serverpod stacks up</h3><p>When the first versions of Serverpod were released, the team was often asked why gRPC or OpenAPI wasn’t used. The answer was that the team didn’t want to be limited by the constraints of other frameworks; the goal was to make Serverpod the best Dart-first platform it could possibly be. Today, it’s clear that we have delivered on that promise.</p><p>Here is a quick comparison of how we stack up against gRPC and OpenAPI. The only area where we are lagging behind is in multi-platform support, something we intend to address in future versions of Serverpod.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UKGoE-g-T_uXFphCv0IXqg.png" /><figcaption>Feature comparison between Serverpod, gRPC, and OpenAPI</figcaption></figure><p>Serverpod has truly come a long way since its initial release. It’s now production-ready and used by thousands of companies worldwide, from startups and app agencies to healthcare providers, banks, and government agencies. This is reflected in our rapid growth. Just one year ago, there were around 3,000 monthly downloads from pub.dev; today, there are over <strong>16,000</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bhtBVaGFdgkOBlHzuawyVw.png" /><figcaption>A year of Serverpod downloads</figcaption></figure><h3>Hosting Simplified: Serverpod Cloud</h3><p>But how do you host a Serverpod application? There is also exciting news in this area. Serverpod Cloud is currently in a private beta. It allows for zero-configuration deployments of your Serverpod server. We are onboarding new projects every single day. If you want to try out the early access plan, sign up for the waiting list on our webpage and give the team a ping on Discord. We’ll hook you up right away.</p><p>We expect to share more news about Serverpod Cloud very soon.</p><h3>Join the Team</h3><p>If the future of Dart on the backend feels exciting to you and you are an experienced Dart developer, now is the perfect time to join the Serverpod team. We are currently hiring for several positions. While local hires in Stockholm are preferred, exceptions are open for extraordinary candidates. Check the careers page for details.</p><h3>Worldwide Flutter and Serverpod hackathon</h3><p>Finally, we have one more surprise. Today, Serverpod 3 is not just launching. We are also launching a worldwide Flutter and Serverpod hackathon with over <strong>$20,000 worth of prizes</strong>. That’s $10,000 in cash prizes and $10,000 in Serverpod Cloud credits.</p><p>The theme of the hackathon is <strong>“Build your Flutter butler with Serverpod”</strong>. This is the chance to craft your very own Flutter Butler that serves, automates, and delights. It can be an AI helper, a productivity app, or a creative automation tool. You can find the full rules and all other information on <a href="https://serverpod.devpost.com/"><strong>our hackathon site</strong></a>. We cannot wait to see what you will build with Serverpod 3.</p><h3>Get started with Serverpod 3</h3><p>Whether you are building a new Flutter app and want to use Dart throughout your stack or if you have an existing Serverpod backend and want to take advantage of all our new features, Serverpod 3 is our best version yet. Give it a spin and let us know your thoughts and what you think we should focus on next.</p><p>Thank you again to everyone who has helped us along the way and who has built this amazing framework together with us. Until next time. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b1152863beb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/serverpod-3-industrial-robust-authentication-and-a-new-web-server-5b1152863beb">Serverpod 3, “Industrial”–Robust authentication and a new web server</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vibe coding Flutter & Dart — The ultimate guide]]></title>
            <link>https://medium.com/serverpod/vibe-coding-flutter-dart-the-ultimate-guide-a8dd9c5895ad?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/a8dd9c5895ad</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[dartlang]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Serverpod]]></dc:creator>
            <pubDate>Sun, 19 Oct 2025 14:37:02 GMT</pubDate>
            <atom:updated>2025-10-20T05:08:15.884Z</atom:updated>
            <content:encoded><![CDATA[<h3>Vibe coding Flutter &amp; Dart — The ultimate guide</h3><p>Generative AI is transforming how developers build software. In this article, we explore how to use AI agents to code entire applications in Dart, from frontends in Flutter to backends with <a href="https://serverpod.dev">Serverpod</a>. You’ll learn how to set up an effective context and how to use tools like MCP servers and AGENTS.md files. We dive into how to avoid common pitfalls and produce as high-quality code as possible.</p><blockquote>This article is also available as a video <a href="https://www.youtube.com/watch?v=Zrd6piQgvak"><strong>here</strong></a>, if you prefer to watch rather than read.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YiSr2avNd4QWG4MBxc9nA.png" /><figcaption>Vibe coding Flutter &amp; Dart</figcaption></figure><h3>What is vibe coding?</h3><p>The term <strong>vibe coding</strong> was coined by Andrej Karpathy, one of the co-founders of OpenAI, in the following tweet. In essence, vibe coding is coding using AI without ever looking at the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eNviZC5DTvJsZtSnLwDagQ.png" /><figcaption>The original vibe coding definition</figcaption></figure><p>However, there are multiple interpretations of what vibe coding is, depending on who you are talking with:</p><ul><li><strong>Pure vibe coding</strong>: only prompting, never looking at the code. This can be useful for rapid prototyping, when you just want to explore an idea without worrying about the underlying details.</li><li><strong>Hybrid vibe coding</strong>: prompting, reviewing, reprompting, and making occasional manual fixes. This is the most practical option for production-quality work, since it balances speed with oversight.</li><li><strong>Autocompletion</strong>: using AI as an advanced autocomplete, like what you get with Cursor. Many developers use this to speed up writing boilerplate or repetitive code.</li></ul><p>After all, if we’re developers, we shouldn’t be too afraid of looking at the code. In this article, we will primarily discuss the middle alternative. Generating code, with occasional manual interventions.</p><h3>How this guide came to be</h3><p>While working on making Serverpod vibe-codable, I spent considerable time exploring the space. If you haven’t already heard about Serverpod, it’s an open-source, scalable app server written in Dart for the Flutter community. It lets you use Dart for your full stack, it’s super easy to get started with, and it even automatically generates your full API. Serverpod comes with batteries included and supports everything from real-time communication and talking with your database to authentication and file uploads. Check it out.</p><h3>Tools for vibe coding</h3><p>There’s no shortage of tools: Cursor, Gemini CLI, Codex, Claude Code, and many more. Some tools, like Dreamflow and Firebase Studio, aim to be more “vibey”, where you don’t have to look at code, only the generated app itself. Tools change fast, so rather than getting hung up on specifics, we will be focusing on the principles. Once you understand the principles, switching tools is easy. This is similar to learning programming: if you focus on the principles rather than learning a specific language, learning new languages becomes easier.</p><h3>The principle of context</h3><p>Context is everything in vibe coding. Models don’t know your project, frameworks, or codebase unless you provide that information. Better context means better code. But a longer context often leads to worse performance. Models drift, and once they drift, they rarely recover. Keeping the context short is crucial to getting good performance out of an LLM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eq58qkBlIZ-Xlwk76fL7WA.png" /><figcaption>Performance of LLMs degrating with longer context</figcaption></figure><p>The above numbers are a bit dated, but they illustrate the point: performance already starts to deteriorate at just a few thousand tokens. Imagine what happens at a million tokens. Shorter context windows mean more accurate results.</p><blockquote><strong><em>Why this happens:</em></strong><em> Models give more weight to the beginning and end of a context window, and as the context grows, earlier details are often “forgotten” or overwritten. That&#39;s why keeping prompts focused and trimming unnecessary context is so important.</em></blockquote><p>There are a number of ways we can give our coding agent better context:</p><ul><li><strong>Project files</strong>: letting the agent read relevant files in our project.</li><li><strong>Product requirements document (PRD) and implementation plan</strong>: a detailed description of the app, features, tech stack, and design considerations. The PRD is often paired with a detailed implementation plan (usually PLAN.md).</li><li><strong>AGENTS.md file</strong>: initial instructions and rules, which are included at the start of context.</li><li><strong>MCP servers</strong>: Model Context Protocol servers that provide additional, structured context.</li></ul><p>Let’s explore our different options and how we can make the most out of them.</p><h4>Product requirements document (PRD) &amp; Implementation plan</h4><p>A PRD collects all the overarching information about your project. It’s easy to create one with your favorite AI agent. For example, when building a conference app with Flutter and Serverpod, I asked the agent to generate it for me:</p><blockquote>“Write a product requirements document (PRD.md). I’m building a conference app with Flutter and Serverpod. I want to have three types of users: attendees, speakers, and admins…”</blockquote><p>Add as many details about the app you want to build as possible in your prompt. Make sure that it includes the following:</p><ul><li>A clear and detailed app description.</li><li>Any features and functionality you want to include.</li><li>Technologies used, Dart packages, state management, etc.</li><li>Design and UX considerations.</li><li>Data models and project structure.</li></ul><p>With the PRD in place, you can move on to the implementation plan. Ask the AI to create a PLAN.md file based on your PRD. For example:</p><blockquote>“I’m building an app. Look at the requirements in PRD.md and make a full step-by-step implementation plan, a PLAN.md document. Include a checklist for each step at the end.”</blockquote><p>The resulting plan provides structure, and the checklist is especially useful since the AI can check off progress as it works on the app and will serve as a reminder of what to work on next.</p><h4>AGENTS.md and the .agents directory</h4><p>The AGENTS.md file is very important, as it is one of the first things the agent will include in its context. Here you can include rules, references to your PRD.md and PLAN.md, and anything else the agent needs to know about. Here are a few things that you may want to include in your AGENTS.md file:</p><ul><li>A short description of your project.</li><li>References to your PRD and implementation plan.</li><li>Instructions on how to write tests. Make sure to tell the agent to always run dart test and dart analyzeafter completing a task.</li><li>Instructions on how and when to access your MCP servers. Without this in your agents file, chances are the agent will never use them.</li></ul><p>You can extend the context further by placing additional files in the .agents directory. Here, you place files that the agent can access, but doesn&#39;t need to include with its context for every single task. For example, I&#39;m using shadcn_ui for the UI in an app I&#39;m building. The models have very limited knowledge about this package. So, I prompted the agent to create markdown files with relevant example code. This is the prompt I used:</p><blockquote>Clone the documentation for shadcn_ui from GitHub. Then, find all code examples, create an individual markdown file for each widget with a minimal example of its usage. Place the files in the ./agents/chadcn_ui directory.</blockquote><p>This gave me a set of markdown files, one file for each widget, all with relevant examples. LLMs love examples; it works much better when they see code rather than just text descriptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SAF7bKYi2bQ7vUOGfifrPg.png" /><figcaption>Generated code examples for shadcn_ui</figcaption></figure><p>Finally, the golden rule: <strong>whenever the AI gets something wrong, add a new rule to AGENTS.md</strong>. Chances are that it will perform better next time. In a sense, this becomes your agent’s memory, making it smarter over time.</p><h4>MCP servers</h4><p>MCP (Model Context Protocol) allows agents to interact with external tools and resources. They can expose commands, tests, files, and services. For example, Serverpod’s MCP integrates with <a href="https://starguide.serverpod.space/"><strong><em>StarGuide</em></strong></a>, an open-source app that lets you chat with our documentation. StarGuide uses RAG (retrieval-augmented generation) to surface relevant docs and answers from GitHub discussions. When integrated through the MCP, agents can ask questions about Serverpod in natural language and get relevant information and code examples back.</p><p><strong>How it works in practice:</strong> Imagine you’re building a Flutter app and the agent needs clarification about a Serverpod API. Instead of relying only on its training data, it can query the MCP server, which fetches the answer from StarGuide (backed by a vector database). The response is passed back to the agent and woven into the agent’s workflow seamlessly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*btsEQGQNhc677oAw6iSFkw.png" /><figcaption>Architecture of the Serverpod MCP server</figcaption></figure><p>While some MCP servers (<em>Dart</em>, I’m talking about you) just expose CLI commands like pub get or dart test. The agents are usually smart enough to run the CLI commands themselves anyway, so the real value of MCPs lies in providing better context.</p><h3>Vibe coding in practice</h3><p>Finally, let’s look at how to best do the actual prompting. Here’s how to approach vibe coding effectively:</p><ol><li><strong>Pick the right model for the job</strong>: I’ve had the best experience with GPT-5, which works great for Dart/Flutter, though it’s slow. Smaller models like Grok are faster but less reliable; they can be usable for quick and easy fixes. I hear good things about Claud, but haven’t gotten as good results as with GPT-5.</li><li><strong>Work incrementally</strong>: break down big tasks, review output carefully. The smaller the tasks we give our agent, the higher the chance of success.</li><li><strong>Fix strategically</strong>: sometimes manual fixes are faster than endless reprompting. Avoid getting stuck in the reprompting doom loop if it only takes you a few seconds to make the fix yourself.</li><li><strong>Keep context clean</strong>: continuously update your AGENTS.md, add examples, and improve the contexts.</li></ol><h4>Common Pitfalls</h4><p>In reality, LLMs make a lot of mistakes. They tend to take shortcuts and do the least amount of work necessary to satisfy a prompt. Here are some pitfalls you’ll see often:</p><ul><li><strong>Repetition</strong>: The AI may write two nearly identical methods one after another, instead of combining them into a single, reusable function.</li><li><strong>Redundant widgets and constants</strong>: Agents often fail to find existing code, opting instead to create new widgets, constants, or methods. This leads to multiple, slightly different implementations scattered throughout the project.</li><li><strong>Inconsistencies</strong>: The same type of problem may be solved in completely different ways across the codebase, which creates maintenance headaches.</li><li><strong>Overly complex solutions</strong>: Instead of relying on standard patterns, the AI sometimes generates convoluted, non-standard approaches that make the code harder to understand and maintain.</li><li><strong>Missed edge cases</strong>: Generated code often handles the happy path only, leaving out critical edge cases that can cause bugs later.</li><li><strong>Weak tests</strong>: Tests written by the AI frequently just verify the simplest, most obvious behavior, without covering error cases, edge conditions, or integration scenarios.</li></ul><p>These issues can accumulate quickly. If you’re not careful, you’ll end up with a bloated, inconsistent codebase that becomes harder for both humans and AI to work with. These pitfalls are exactly the kinds of issues that create tech debt if left unchecked, so vigilance here saves future headaches. Sometimes it’s faster to fix things manually than to keep reprompting. Remember that vibe coding is meant to increase productivity, not slow you down.</p><h3>Real-world examples</h3><p>Here are two real-world examples that I challenged myself to almost exclusively use generated code to build:</p><ul><li><a href="https://pub.dev/packages/cupertino_native"><strong>Cupertino Native</strong></a>: When Apple introduced liquid glass effects in iOS 26, I vibe-coded a proof of concept in Flutter over a weekend. It’s obviously not production-level code, but it shows the viability of the approach.</li><li><strong>Conference App</strong>: For the Full Stack Flutter conference, I’m vibe-coding an app (Flutter + Serverpod) for handling submissions and managing the schedule. I worked on this app in parallel with developing the MCP server for Serverpod.</li></ul><h3>Is vibe coding worth it?</h3><p>Yes, it can be! For scaffolding, glue code, repetitive tasks, and prototyping, it can save some time. But generated code can be messy, and maintenance matters. If you let too much bad code into your project, the models will perform worse over time, and your ability to keep the project clean will suffer. Use vibe coding wisely: accelerate where it helps, but don’t let it erode your developer skills.</p><h3>The future of coding</h3><p>Will AI replace developers? Probably not anytime soon. The cost of training new models grows exponentially as they get more capable, and we may be reaching practical and economic limits. To train GPT‑5 already required massive computing resources, and the next step could cost ten or even a hundred times more. At some point, it becomes unsustainable. To go further, we’ll likely need something beyond current LLM technology. Here is a graph of the cost vs performance of current LLMs. Note that the x-axis with the cost is on a logarithmic scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HJLJ-9hteXS0thcQN9oTCg.png" /><figcaption>Training cost vs performance of popular LLM models</figcaption></figure><p>For now, I think developers are safe. Many other jobs will be automated long before ours, and we’ll probably be the ones creating that automation. The more likely future is not that developers disappear, but that we become faster and more capable with AI as a powerful tool.</p><h4>About the author</h4><p><em>Viktor Lidholt</em> is the founder and lead developer of Serverpod, an open-source backend written in Dart for the Flutter community. With a master’s in computer science and over 20 years of industry experience, Viktor has a solid background in software engineering. Before starting Serverpod, he worked at Google’s Flutter team in Silicon Valley. He has held talks and taught guest lectures on programming, app creation, and computer graphics at international conferences and universities such as MIT, Carnegie Mellon, and UC Berkeley.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8dd9c5895ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/vibe-coding-flutter-dart-the-ultimate-guide-a8dd9c5895ad">Vibe coding Flutter &amp; Dart — The ultimate guide</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is it time for Flutter to leave the uncanny valley?]]></title>
            <link>https://medium.com/serverpod/is-it-time-for-flutter-to-leave-the-uncanny-valley-b7f2cdb834ae?source=rss----d34e7e4cff96---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7f2cdb834ae</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[liquid-glass]]></category>
            <dc:creator><![CDATA[vlidholt]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 08:07:43 GMT</pubDate>
            <atom:updated>2025-09-11T15:04:01.601Z</atom:updated>
            <content:encoded><![CDATA[<p>A frequent critique of Flutter is that its widgets, though impressively close, don’t feel quite native. They’re not wrong: Flutter UIs sometimes fail to replicate the nuances of the underlying platform perfectly. Then came the announcement of <strong>iOS 26</strong> and Apple’s sweeping redesign: <strong>Liquid Glass</strong>. The React Native crowd once again proclaimed the “death of Flutter.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rx7CXtBGjViO4K7CVQc4Gg.jpeg" /><figcaption>Introducing Liquid Glass for Flutter</figcaption></figure><p>Flutter can replicate these effects with shaders and surely will eventually. However, making an identical copy of Liquid Glass will be a huge task, and not much progress has been made yet. Liquid Glass has many new animations for menus, toolbars, and buttons, not just the new refractive materials. That sets the stage for a deeper question: How does Flutter keep up when native design leaps forward?</p><h3>Native Liquid Glass via platform views</h3><p>I decided to experiment: rather than reimplement Liquid Glass in Flutter, I embedded native <strong>SwiftUI components</strong> through <strong>platform views</strong>. I expected poor performance, issues with integration, or difficulty implementing it. When briefly discussing it with another former Flutter team member, he called it “a horrible idea.” But I decided it was still worth spending a weekend testing its viability.</p><p>Surprisingly, performance seems great. It runs without a hitch, both on my physical device and in the iOS Simulator. Why? Because Liquid Glass UI elements, by design, typically <em>sit on top</em> of all other content. That eliminates the more expensive operations, where Flutter draws content on top of the platform views.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2FqrA582FWU7Q%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3DqrA582FWU7Q&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2FqrA582FWU7Q%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/82ac614357e96bd5377f6895025a7a03/href">https://medium.com/media/82ac614357e96bd5377f6895025a7a03/href</a></iframe><p>Try it out yourself! You can install the <a href="https://pub.dev/packages/cupertino_native"><strong>cupertino_native</strong></a> plugin from Pub and start experimenting with Liquid Glass in your own Flutter apps today.</p><h3>Could this be Flutter’s future?</h3><p>I think so, at least as an interim solution before pure Flutter widgets catch up. I would love to see a hybrid approach. More advanced widgets, like toolbars, switches, sliders, and glass buttons, are made with platform views. Components that can more easily be replicated are made with pure Flutter. Things like icons can be rendered natively and then cached in Flutter. Minimizing the number of components drawn through platform channels will improve performance, but gains could also be made in Flutter itself. For instance, rendering of multiple platform views could be batched together, minimizing the number of switches between Flutter’s raster thread and UIKit’s main thread. That being said, I’m no expert in either Swift or how the platform views work under the hood.</p><h3>Let’s build this together</h3><p>I built <a href="https://pub.dev/packages/cupertino_native"><strong>cupertino_native</strong></a> under the umbrella of Serverpod’s open-source initiative. (If you haven’t heard about <a href="https://serverpod.dev"><strong>Serverpod</strong></a>, you should definitely check it out. It’s an awesome (free and open-source) way to build your Flutter app’s backend completely in Dart.) cupertino_native works and is a great proof of concept, but it was also vibe-coded in a weekend. So, it clearly needs both polish and more features. My estimation is that it will take less than a month to bring it to production quality with the right people on board. I’m running a startup myself, so my time for coding is very limited, but I’m happy to organize the effort. Please let me know if you are interested in helping out, and please spread the word so we can bring this to the Flutter community.</p><h4>About the author</h4><p><em>Viktor Lidholt</em> is the founder and lead developer of Serverpod, an open-source backend written in Dart for the Flutter community. With a master’s in computer science and over 20 years of industry experience, Viktor has a solid background in software engineering. Before starting Serverpod, he worked at Google’s Flutter team in Silicon Valley. He has held talks and taught guest lectures on programming, app creation, and computer graphics at international conferences and universities such as MIT, Carnegie Mellon, and UC Berkeley.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f2cdb834ae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/serverpod/is-it-time-for-flutter-to-leave-the-uncanny-valley-b7f2cdb834ae">Is it time for Flutter to leave the uncanny valley?</a> was originally published in <a href="https://medium.com/serverpod">Serverpod</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>