Write HTTP servers
Dart resources for writing HTTP servers include:
Documentation
#- Using Google Cloud has information on Google Cloud products that Dart servers can use, such as Cloud Run.
- Using Google APIs points to resources to help you use Firebase and Google client APIs from a Dart app.
Samples
#-
A simple Dart HTTP server
- Uses the
shelfpackage. - Also uses the
shelf_routerandshelf_staticpackages. - Is deployable on Cloud Run.
- Uses the
-
A Dart HTTP server that uses Cloud Firestore
- Uses the Cloud Firestore features in the
googleapispackage. - Also uses the
googleapis_auth,shelf, andshelf_routerpackages. - Is deployable on Cloud Run.
- Uses the Cloud Firestore features in the
Previous
Fetch data from the internet
Was this page's content helpful?
Unless stated otherwise, the documentation on this site reflects Dart 3.10.0. Page last updated on 2025年9月4日. View source or report an issue.