is written to last (i.e. not made up of ‘quick fixes’). ▸ Services with code that can easily be added too or removed from. ▸ Services with APIs that age well and are predictable.
backend. ‣Comes with a default LocalStorage Implementation. ‣Separate implementations for Amazon S3 and Google Cloud Storage. skelpo/Storage by yours truly
backend. ‣Comes with a default LocalStorage Implementation. ‣Separate implementations for Amazon S3 and Google Cloud Storage. ‣*Also has a File type for handling file data representation. skelpo/Storage by yours truly
you are going to use and stick with it ▸ REST, GraphQL, SOAP, gRPC, etc. ▸ Makes your API predictable. ▸ The client knows what a route should look like.
you are going to use and stick with it ▸ REST, GraphQL, SOAP, gRPC, etc. ▸ Makes your API predictable. ▸ The client knows what a route should look like. ▸ You know how new routes should look.
the client the data they want. ▸ Headers that define the expected response include Accept, Accept-*, and If-*. ▸ Resource: developer.mozilla.org/docs/Web/HTTP/ Headers
from the database. ▸ Plug the app into any other app. ▸ Custom boot sequences for different app instances. ▸ Dependency injection for provider instances.
from the database. ▸ Plug the app into any other app. ▸ Custom boot sequences for different app instances. ▸ Dependency injection for provider instances. ▸ Default services (using services.extend).
Register your Vapor services under their protocol type. ▸ Use route collections to build your controllers. ▸ Maybe try putting your app in a provider. ▸ Check out the Vapor Style Guide. docs.vapor.codes/3.0/extras/style-guide