Serverpod_database는 Serverpod용 데이터베이스 어댑터를 제공하여 다양한 데이터베이스와의 원활한 통합을 가능하게 합니다. 서버포드 애플리케이션 내에서 구조화된 데이터 저장 및 검색을 지원하며, 다양한 데이터베이스 백엔드 간에 일관된 인터페이스를 제공합니다. 서버 측 Dart 애플리케이션을 위해 설계되었으며, 내장 모델과 쿼리 처리를 통해 데이터베이스 작업을 단순화합니다. 이 패키지는 강력한 타입 안전성과 자동 코드 생성을 통해 빠른 백엔드 개발을 촉진하는 보다 광범위한 Serverpod 생태계의 일부입니다. 클라이언트와 서버 간의 일관성이 필수적인 풀스택 Dart 애플리케이션에서 특히 유용합니다.
사용 사례
백엔드 데이터 지속성
실시간 애플리케이션 데이터 관리
풀스택 Dart 애플리케이션 개발
자동 데이터베이스 스키마 동기화
다중 플랫폼 서버 애플리케이션
주요 기능
데이터베이스 어댑터 추상화
타입 안전한 쿼리
자동 스키마 생성
Serverpod 프레임워크와의 통합
다중 데이터베이스 백엔드 지원
적합한 대상
Dart 백엔드 개발자
풀스택 Dart 팀
Serverpod 기반 애플리케이션
일관된 데이터 모델링이 필요한 애플리케이션
자동 코드 생성을 사용하는 프로젝트
고려 사항
Serverpod 프레임워크가 필요합니다
Windows 플랫폼에 한정
Serverpod 아키텍처에 의존
모노리식 또는 강하게 결합된 시스템에 가장 적합
독립형 데이터베이스 클라이언트용으로 의도되지 않음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
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.
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).