Yes, you can! You can use chalicelib folder to add your project's code and use the app.py only for the API paths.
You can also see here some examples of triggers, events, scheduled tasks: github.com/aws/chalice/blob/master...
Although I would recommend for bigger projects to use AWS SAM (Serverless Application Model). I am currently writing a tutorial for SAM.
Cool, I will definitely take a look at this, thanks.
I have been working with SAM on last year, is quite good for big applications, but writing stuff in YAML sometimes is a bit stressful, mostly when you have 800+ lines in one template.
Same here! A YAML template with 900 lines is hard to maintain!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, you can! You can use chalicelib folder to add your project's code and use the app.py only for the API paths.
You can also see here some examples of triggers, events, scheduled tasks: github.com/aws/chalice/blob/master...
Although I would recommend for bigger projects to use AWS SAM (Serverless Application Model). I am currently writing a tutorial for SAM.
Cool, I will definitely take a look at this, thanks.
I have been working with SAM on last year, is quite good for big applications, but writing stuff in YAML sometimes is a bit stressful, mostly when you have 800+ lines in one template.
Same here! A YAML template with 900 lines is hard to maintain!