All Projects → jordaneremieff → serverless-mangum-examples

jordaneremieff / serverless-mangum-examples

Licence: MIT license
Example ASGI applications and Serverless Framework configurations using Mangum

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to serverless-mangum-examples

starlette-graphene3
An ASGI app for using Graphene v3 with Starlette / FastAPI
Stars: ✭ 52 (+100%)
Mutual labels:  asgi, starlette, fastapi
async-asgi-testclient
A framework-agnostic library for testing ASGI web applications
Stars: ✭ 123 (+373.08%)
Mutual labels:  asgi, quart, starlette
fastapi-zeit-now
A simple example of deploying FastAPI as a Zeit Serverless Function
Stars: ✭ 24 (-7.69%)
Mutual labels:  asgi, starlette, fastapi
arel
Lightweight browser hot reload for Python ASGI web apps
Stars: ✭ 69 (+165.38%)
Mutual labels:  asgi, starlette, fastapi
inboard
🚢 Docker images and utilities to power your Python APIs and help you ship faster. With support for Uvicorn, Gunicorn, Starlette, and FastAPI.
Stars: ✭ 106 (+307.69%)
Mutual labels:  asgi, starlette, fastapi
msgpack-asgi
Drop-in MessagePack support for ASGI applications and frameworks
Stars: ✭ 100 (+284.62%)
Mutual labels:  asgi, starlette, fastapi
fastAPI-aiohttp-example
How to use and test fastAPI with an aiohttp client
Stars: ✭ 69 (+165.38%)
Mutual labels:  asgi, fastapi
mongox
Familiar async Python MongoDB ODM
Stars: ✭ 113 (+334.62%)
Mutual labels:  asgi, starlette
fastapi-project
FastAPI application without global variables(almost) =)
Stars: ✭ 26 (+0%)
Mutual labels:  asgi, fastapi
starlette-opentracing
Opentracing support for Starlette and FastApi
Stars: ✭ 62 (+138.46%)
Mutual labels:  starlette, fastapi
hypercorn-fastapi-docker
Docker image with Hypercorn for FastAPI apps in Python 3.7, 3.8, 3.9. Ready for HTTP2 and HTTPS
Stars: ✭ 18 (-30.77%)
Mutual labels:  asgi, fastapi
starlite
Light, Flexible and Extensible ASGI API framework
Stars: ✭ 1,525 (+5765.38%)
Mutual labels:  asgi, starlette
fastapi-websocket-broadcast
Websocket 'broadcast' demo using FastAPI/Starlette
Stars: ✭ 106 (+307.69%)
Mutual labels:  starlette, fastapi
starlette-context
Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
Stars: ✭ 320 (+1130.77%)
Mutual labels:  starlette, fastapi
webargs-starlette
Declarative request parsing and validation for Starlette with webargs
Stars: ✭ 36 (+38.46%)
Mutual labels:  asgi, starlette
fastapi-users
Ready-to-use and customizable users management for FastAPI
Stars: ✭ 1,920 (+7284.62%)
Mutual labels:  starlette, fastapi
TikTokDownloader PyWebIO
🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音|TikTok数据爬取工具,支持API调用,在线批量解析及下载。
Stars: ✭ 919 (+3434.62%)
Mutual labels:  asgi, fastapi
Awesome Fastapi
A curated list of awesome things related to FastAPI
Stars: ✭ 3,033 (+11565.38%)
Mutual labels:  starlette, fastapi
morelia server
Server for MoreliaTalk network
Stars: ✭ 25 (-3.85%)
Mutual labels:  starlette, fastapi
fastapi-azure-auth
Easy and secure implementation of Azure AD for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.
Stars: ✭ 174 (+569.23%)
Mutual labels:  asgi, fastapi

serverless-mangum-examples

Example ASGI applications and Serverless Framework configurations using Mangum.

There are examples for the following ASGI-compatible frameworks:

The examples are all intended to be basic starting points for deploying an ASGI application to AWS Lambda & API Gateway. Things like database support will require more advanced configurations.

Requirements

  • Python 3 (minimum version depending on application framework)
  • Serverless Framework (a version that includes HTTP API support)
  • Docker
  • npm

Setup

Serverless Framework

npm install -g [email protected]

Serverless Framework plugins

serverless-python-requirements

sls plugin install -n serverless-python-requirements

GitHub

serverless-dotenv-plugin

npm i -D serverless-dotenv-plugin

GitHub

TODO (maybe)

  • Database examples
  • WebSocket examples. WebSocket support in Mangum is currently "experimental" (ie: it might be broken).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].