{"id":1706,"date":"2020-09-04T12:18:19","date_gmt":"2020-09-04T10:18:19","guid":{"rendered":"https:\/\/blog.besharp.it\/?p=1706"},"modified":"2021-03-18T16:22:29","modified_gmt":"2021-03-18T15:22:29","slug":"build-your-own-file-hosting-application-with-flutter-amplify-and-aws","status":"publish","type":"post","link":"https:\/\/blog.besharp.it\/build-your-own-file-hosting-application-with-flutter-amplify-and-aws\/","title":{"rendered":"Build your own mobile file hosting application with Flutter, Amplify, and AWS."},"content":{"rendered":"\n

Nowadays <\/span>Flutter<\/b> is becoming more and more recognized as a viable solution for making <\/span>mobile cross-platform<\/b> applications. Also, <\/span>AWS Amplify<\/b> is rapidly gaining the attention of the developer community as it makes it incredibly simple to setup applications <\/span>without worrying about backend infrastructure<\/b>, as the library does that for you.<\/span><\/p>\n\n\n\n

Recently these two frameworks<\/span> joined forces<\/b> and the first release of <\/span>Amplify for Flutter<\/b> has been put online for developers to test out, with support for <\/span>Amazon Cognito<\/b>, <\/span>AWS S3,<\/b> and <\/span>Pinpoint<\/b> for logging.<\/span><\/p>\n\n\n\n

Being eager to try it out, we created a Proof-of-Concept to show how well these libraries work together. Following we present how to develop an<\/span> AWS S3 powered<\/b> dropbox-like application with <\/span>Login<\/b> capabilities for <\/span>mobile devices<\/b>.<\/span><\/p>\n\n\n\n

As a bonus, we also propose a simple configuration for managing your CI\/CD pipeline using <\/span>Travis CI. <\/b><\/p>\n\n\n\n

The project can be created step by step following the guidelines provided or by directly downloading the entire solution from our <\/a><\/span>Github repository.<\/b><\/p>\n\n\n\n

Let\u2019s get started!<\/p>\n\n\n\n

Setup your environment<\/h1>\n\n\n\n

In order to start developing applications in Flutter, some preliminary steps are required. You can follow the instructions provided below to set up your environment with all the required tools.<\/p>\n\n\n\n

AWS CLI with a valid account for using Amplify<\/h2>\n\n\n\n

Before doing anything else be sure to create an appropriate account on AWS. Amplify needs access to the following cloud resources:<\/p>\n\n\n\n