Best practices when working with the serverless framework
ape.gs/SLS-DiT
Because we have all met this guy
Because we have all been burned by a framework
Because nobody knows what the future will hold
Best practices when adopting frameworks (and this time, the serverless framework)
ape.gs/SLS-DiT
Functionality
Interface
Goal: Decouple our business logic from the serverless framework as much as possible
- bot/
|--- src/
|--- container.js <===== our dependency injection container
|--- functions/
|------- memebot_slack_command.js
|--- lib/
|------- config/...
|------- exceptions/...
|------- logger.js
|------- meme_api_manager.js
|------- memebot_api.js
|------- slack_api_manager.js
- spec/
...
Thank you!
ape.gs/SLS-DiT