Starter FastAPI project with a streaming endpoint configured for ZIP deployment on AWS Lambda.
sam build
sam deploy --guided
After deployment, SAM should print out the API endpoint URL. You can use it to test the streaming endpoint:
curl -X POST --no-buffer https://[api-endpoint].execute-api.[region].amazonaws.com/Dev/count
Clean up after you're done:
sam delete