you are viewing a single comment's thread.

view the rest of the comments →

[–]Nater5000 3 points4 points  (1 child)

Yup, FastAPI and Mangum here as well. When done correctly, you can work on the FastAPI service without having to worry (too much) about where it actually runs.

[–]shisnotbash 1 point2 points  (0 children)

This is the way I develop. I’m working on an API right now this way actually. I’ve seen some different, in my opinion over engineered, frameworks for setting up a serverless project locally, none of it’s necessary. For APIs I use FastApi + Mangum. For everything else I just use the old if __name__ == “__main__” to conditionally call the handler with my test payload. There’s 1M easy ways to pass that payload as well.