パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v4.1.2

serverpod_embedded_postgres

Docker や固定ポートの競合なしで、ローカル開発用に実際の PostgreSQL サーバーを子プロセスとして実行します。

Windows
30日間ダウンロード
6.9万
いいね数
0
Pub ポイント
150

パッケージをインストール

flutter pub add serverpod_embedded_postgres

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ローカル開発中に子プロセスとして独立したPostgreSQLサーバーを実行するFlutter/Dartパッケージで、Dockerや手動でのポート管理の必要性を排除します。自動的に起動・停止および接続設定を処理することで、Serverpodアプリケーションとのシームレスなデータベース統合を実現します。他のサービスとの競合を回避する軽量かつ自己完結型のデータベース環境を求める開発者に最適です。埋め込みサーバーは開発ワークフロー専用に設計されており、Windowsプラットフォーム上で一貫性とシンプルさを保証します。

用途

  • Serverpod アプリケーションのローカル開発
  • 外部の依存関係なしにデータベース操作をテストする
  • 開発環境での Docker の使用を避ける
  • チームオンボーディングのセットアップを簡素化
  • プロジェクトごとに分離されたデータベースインスタンスを実行する

主な機能

  • PostgreSQL を子プロセスとして実行します
  • Docker は不要です
  • 自動ポート管理
  • Serverpod とのシームレスな統合
  • Windows プラットフォームをサポートしています

適している対象

  • Serverpod 開発者
  • Dart を使用するフロントエンド/バックエンドチーム
  • ローカルデータベースのテスト
  • 最小限のセットアップでCI/CDパイプライン
  • コンテナ化を避ける開発者

注意事項

  • 本番環境での使用を想定していません
  • ネイティブな PostgreSQL バイナリが必要です
  • Windows プラットフォームに限定
  • 軽量な代替手段よりもメモリを多く消費する可能性があります
  • セッション間でデータベースの状態が永続化されません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Serverpod banner

Serverpod

Serverpod is a next-generation app and web server, built for the Flutter community. It allows you to write your server-side code in Dart, automatically generate your APIs, and hook up your database with minimal effort. Serverpod is open-source, and you can host your server anywhere.

Get Started - Join the Mailing List

Capabilities

Serverpod is a complete, competent backend for Flutter. For the glossy sales pitch, head to our main page at Serverpod.dev.

Every design decision in Serverpod aims to minimize the amount of code you need to write and make it as readable as possible. Apart from being just a server, Serverpod incorporates many common tasks that are otherwise cumbersome to implement or require external services.

Code generation

Serverpod automatically generates your model and client-side code by analyzing your server. Calling a remote endpoint is as easy as making a local method call.

World-class logging

Stop struggling. You no longer need to search through endless server logs. Pinpoint exceptions and slow database queries in an easy-to-use user interface with a single click.

Built-in caching

Cut down on your database costs. Don't save all your data permanently when you don't have to. Serverpod comes with a high-performance distributed cache built right in. Any serializable objects can be cached locally on your server or using Redis if you need to use the same cache across a cluster of servers.

Easy to use ORM

Save time. Talking with your database can be a hassle. With Serverpod's ORM, your queries use native Dart types and null-safety. There is a straight path from your statically checked code to the database.

Database migrations

Easily keep your database in sync as the requirements of your project evolve. Serverpod comes with a complete database migration system that helps you apply and version changes to the database.

File uploads

Upload files straight to Google Cloud Storage, S3, or store them in your database.

Authentication

Sign in through social logins or wing your own. Currently supported are Google, Apple, Firebase, and email.

Data streaming

Pass serialized objects through authenticated sockets. Push messages from your server for real-time communication. Sending messages across a cluster of servers is supported. Perfect for building games or chatting applications, or anything you can imagine.

Task scheduling

Serverpod's future calls replace complicated cron jobs. Call a method anytime in the future or after a specified delay. The calls persist even if the server is restarted.

Health checks

Monitor the database and external services that you are using. Write custom health checks and get notified when something goes wrong.

Easy deployment

Serverpod comes with Terraform scripts for Google Cloud Platform and AWS, making deploying your server very quick. We are still working on scripts for other platforms. Please get in touch with us if you want to contribute.

Built-in web server

Serverpod comes with a built-in web server. This makes it very easy to share data for applications that need both an app and traditional web pages. You can also use the webserver to create webhooks or generate custom REST APIs to communicate with 3rd party services. The web server is still experimental, and we are actively working on it.

License

All Serverpod packages are licensed under BSD-3, except for the main serverpod package, which uses the SSPL license. In short, this means that you can, without limitation, use any of the client packages in your app. You can also host your Serverpod server without limitation as long as you do not offer Severpod as a cloud service to 3rd parties (this is typically only relevant for cloud service providers).

カテゴリー

依存関係

依存関係一覧 9 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。

ランキング