# general


12/20/2018, 1:31 PM
what’s you all’s recommended way to structure the api layer so it works well with local testing and such? In the past, we’ve scaffold out an express app that could run locally and run all the functions. (this was before SAM, mind you). but then deployment…we wouldn’t use express. I’ve used localstack for a lot of local simulation of other parts of AWS too. For Pulumi endpoints … what do you all consider a best practice?