FastAPI Serve - FastAPI to the Cloud, Batteries Included!
Project description
FastAPI-Serve: FastAPI to the Cloud, Batteries Included! โ๏ธ๐๐
Welcome to fastapi-serve, your one-stop solution for seamless FastAPI application deployments. Powered by our open-source framework Jina, fastapi-serve
provides an effortless transition from your local setup to cloud.jina.ai, our robust and scalable cloud platform. ๐ฉ๏ธ
Designed with developers in mind, fastapi-serve
simplifies the deployment process by packing robust functionality, ease-of-use, and automated procedures into one comprehensive package. With fastapi-serve
, we aim to streamline the "last mile" of FastAPI application development, allowing you to focus on what truly matters - writing great code!
๐ Features
- ๐ HTTPS: Auto-provisioned DNS and TLS certificates for your app.
- ๐ Protocols: Full compatibility with HTTP, WebSocket, and GraphQL.
- โ๏ธ Scaling: Scale your app manually or let it auto-scale based on RPS, CPU, and Memory.
- ๐๏ธ Secrets: Secure handling of secrets and environment variables.
- ๐๏ธ Hardware: Choose the right compute resources for your app's needs with ease.
- ๐ Authorization: Built-in
OAuth2.0
token-based security to secure your endpoints. - ๐พ App Storage: Persistent and secure network storage for your app data.
- ๐ Blob Storage: Built-in support for seamless user file uploads and downloads.
- ๐ Observability: Integrated access to logs, metrics, and traces. (Alerting coming soon!)
- ๐ฆ Containerization: Effortless containerization of your Python codebase with our integrated registry.
- ๐ ๏ธ Self-Hosting: Export your app for self-hosting with ease, including docker-compose and Kubernetes YAMLs.
๐ก Getting Started
First, install the fastapi-serve
package using pip:
pip install fastapi-serve
Then, simply use the fastapi-serve
command to deploy your FastAPI application:
fastapi-serve deploy jcloud main:app
You'll get a URL to access your newly deployed application along with the Swagger UI.
๐ Documentation
Dive into understanding fastapi-serve
through our comprehensive documentation and examples:
- ๐ Getting Started
- ๐งฑ Deploy a simple FastAPI application
- ๐ฅ๏ธ Dig deep into the
fastapi-serve
CLI - โ๏ธ Understanding configuration and pricing on Jina AI Cloud
- ๐ Upgrade your FastAPI applications with zero downtime
- ๐ข Managing Larger Applications with Complex Directory Structure (Documentation in progress ๐ง)
- โ๏ธ Scaling
- ๐งฉ Config & Credentials
- ๐พ Storage
- ๐ Manage file uploads and downloads with built-in blob storage
- ๐ Network storage for persisting and securely accessing app data (Documentation in progress ๐ง)
- ๐ Security
- ๐ณ Deployment Options
- ๐ข Deployment with custom dockerfile (Documentation in progress ๐ง)
- โธ๏ธ Export your app for self-hosting with docker-compose / Kubernetes
- ๐ Observability
- ๐ Access logs, metrics, and traces for your app (Documentation in progress ๐ง)
- ๐จ Set up alerts for your app (Documentation in progress ๐ง)
๐ช Support
If you encounter any problems or have questions, feel free to open an issue on the GitHub repository. You can also join our Discord to get help from our community members and the Jina team.
๐ Our Cloud Platform
Our robust and scalable cloud platform cloud.jina.ai
is designed to run your FastAPI applications with minimum hassle and maximum efficiency. With features like auto-scaling, integrated observability, and automated containerization, it provides a seamless and worry-free deployment experience.
fastapi-serve
is more than just a deployment tool, it's a bridge that connects your local development environment with our powerful cloud infrastructure. Start using fastapi-serve
today, and experience the joy of effortless deployments! ๐
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for fastapi-serve-0.0.7.dev45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d70e0b49fc14b456bc43739d8a6c49353953030f6ce71582f70c74bcf11d47 |
|
MD5 | b6cd56aa806075aa84fc9f7858fd91e9 |
|
BLAKE2b-256 | 639f3788f7e2234598f4ca90065ffc2d2e238606f950615c657460d34d7f8192 |