Skip to main content

Command-line and server apps

All things relating to command-line and server apps.

This page points to tools and documentation that can help you develop command-line and server apps.

Tools

#
DartPad

Handy for both beginners and experts, DartPad lets you try out language features and dart:* APIs.

Dart SDK

Install the Dart SDK to get the core Dart libraries and tools.

Frameworks

#

Server-side frameworks written in Dart include:

Serverpod

A scalable app server that supports code generation, authentication, real-time communication, databases, and caching.

Dart Frog

A fast, minimalistic backend framework for Dart.

More tools

The Tools page links to generally useful tools, such as Dart plugins for your favorite IDE or editor.

For additional options, see #server packages on pub.dev.

Cloud Functions for Firebase

#

Write Cloud Functions for Firebase using Dart to enable full-stack development, reuse code between your client and backend, and respond to Firebase triggers. To get started, see the Cloud Functions for Firebase documentation.

Firebase Functions package

The core package to write backend functions and APIs in Dart.

Firebase Admin SDK package

Access Firebase services securely from backend servers or Cloud Functions. Use it to manage data, send notifications, or verify auth tokens.

Firebase Functions for Dart repository

GitHub repository with quickstart guides, examples, and source code.

Samples

#
A simple Dart HTTP server
A Dart HTTP server that uses Cloud Firestore

More resources

#
Dart API

API reference for dart:* libraries.

dart:io documentation

Shows how to use the major features of the dart:io library. You can use the dart:io library in command-line scripts, servers, and non-web Flutter apps.

Using Google Cloud

Guides and documentation on Google Cloud products that Dart servers can use, such as Cloud Run.

Using Google APIs

Resources to help you use Firebase and Google client APIs from a Dart app.