Skip to content
pubscout

appengine

0.13.13, released 3 months ago by labs.dart.dev

Support for using Dart as a custom runtime on Google App Engine Flexible Environment.

$ flutter pub add appengine
Source repository

What it does

Provides utilities and request handlers to run server applications written in Dart on Google App Engine using custom runtimes with the Flexible Environment. It sets up integrations for logging, requests, and cloud services.

AI-written summary of version 0.13.13, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to host a Dart server application on Google App Engine Flexible Environment
  • You need integration with Google Cloud services and standard App Engine environment variables

Skip it when

  • You are deploying to a different cloud provider or standard server hosting
  • You prefer stable packages since this package is experimental

Strengths

  • Official integration for running Dart on Google App Engine Flexible Environment
  • Handles standard HttpRequest routing and runAppEngine setup

Weaknesses

  • Currently experimental with a higher expected rate of API and breaking changes
  • Requires external setup with Google Cloud SDK and Docker

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
9

Requires Google Cloud SDK, gcloud auth, Docker configuration, and app.yaml setup.

import 'dart:io';
import 'package:appengine/appengine.dart';

requestHandler(HttpRequest request) {
  request.response
      ..write('Hello, world!')
      ..close();
}

main() async {
  await runAppEngine(requestHandler);
}

Alternatives

Packages that do the same job and could replace appengine.

Works with

Packages commonly used together with appengine: ones it builds on, ones built on it, and its own family.