Skip to content

FastAPI to the Cloud, Batteries Included! โ˜๏ธ๐Ÿ”‹๐Ÿš€

License

Notifications You must be signed in to change notification settings

jina-ai/fastapi-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FastAPI-Serve: FastAPI to the Cloud, Batteries Included! โ˜๏ธ๐Ÿ”‹๐Ÿš€

PyPI PyPI - Downloads from official pypistats Github CD status

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:

๐Ÿ’ช 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! ๐ŸŽŠ