{"id":14973260,"url":"https://github.com/webmobiledev/ionic-aws-starter","last_synced_at":"2026-02-12T09:32:03.244Z","repository":{"id":44290672,"uuid":"213592575","full_name":"webmobiledev/ionic-aws-starter","owner":"webmobiledev","description":"This is an Ionic AWS starter project.","archived":false,"fork":false,"pushed_at":"2023-05-06T23:27:43.000Z","size":2992,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-16T04:46:53.772Z","etag":null,"topics":["angular","angular4","aws-cognito","aws-dynamodb","aws-mobile-hub","aws-s3","aws-sdk","cognito","dynamodb","ionic","ionic-native","ionic4","s3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webmobiledev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-08T08:46:34.000Z","updated_at":"2019-10-08T08:54:13.000Z","dependencies_parsed_at":"2024-09-23T13:00:37.916Z","dependency_job_id":"157168b2-8fea-479b-81a4-c0bc87f538c5","html_url":"https://github.com/webmobiledev/ionic-aws-starter","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"651f2e33847086618bc093cbf9c1fbcf1c46b0b6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webmobiledev/ionic-aws-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmobiledev%2Fionic-aws-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmobiledev%2Fionic-aws-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmobiledev%2Fionic-aws-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmobiledev%2Fionic-aws-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmobiledev","download_url":"https://codeload.github.com/webmobiledev/ionic-aws-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmobiledev%2Fionic-aws-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular4","aws-cognito","aws-dynamodb","aws-mobile-hub","aws-s3","aws-sdk","cognito","dynamodb","ionic","ionic-native","ionic4","s3"],"created_at":"2024-09-24T13:48:27.137Z","updated_at":"2026-02-12T09:32:03.226Z","avatar_url":"https://github.com/webmobiledev.png","language":"JavaScript","readme":"# Ionic AWS Starter\n\nThis Ionic starter comes with a pre-configured [AWS Mobile Hub](https://aws.amazon.com/mobile/) project set up to use Amazon DynamoDB, S3, Pinpoint, and Cognito.\n\n## Using the Starter\n\n### Installing Ionic CLI 3.0\n\nThis starter project requires Ionic CLI 3.0, to install, run\n\n```bash\nnpm install -g ionic@latest\n```\n\nMake sure to add `sudo` on Mac and Linux. If you encounter issues installing the Ionic 3 CLI, uninstall the old one using `npm uninstall -g ionic` first.\n\n### Installing AWS CLI\n\nTo install the AWS CLI, first ensure your pip installation is up to date:\n\n```\npip install --upgrade pip\n```\n\nNext, install the AWS CLI:\n\n```\npip install awscli\n```\n\nNote: add `sudo` to the above commands on Mac and Linux.\n\n### Creating the Ionic Project\n\nTo create a new Ionic project using this AWS Mobile Hub starter, run\n\n```bash\nionic start myApp aws\n```\n\nWhich will create a new app in `./myApp`.\n\nOnce the app is created, `cd` into it:\n\n```bash\ncd myApp\n```\n\nProceed to the next steps on importing the auto-generated AWS Mobile Hub project.\n\n### Creating AWS Mobile Hub Project\n\nVisit the [AWS Mobile Hub](https://aws.amazon.com/mobile/) and enter the Mobile Hub Console.\n\nIn the Mobile Hub dashboard, click the \"Import your project\" button. Next, find the `mobile-hub-project.zip` included\nin this starter project, and drag and drop it to the import modal. Set the name of the project, and then click \"Import project.\"\n\nOnce the project is imported, you'll be directed to the dashboard for this Mobile Hub project. To continue configuring the app, you'll need to find the name of the Amazon S3 bucket auto generated through the App Content Delivery system. To do this, click the \"Resources\" button on the left side of the Mobile Hub project dashboard, find the \"Amazon S3 Buckets\" card, and then copy the bucket name that contains `hosting-mobilehub`.\n\nNext, assuming your terminal is still open inside of the `myApp` folder, run:\n\n```bash\naws s3 cp s3://BUCKET_NAME/aws-config.js src/assets\n```\n\nReplacing `BUCKET_NAME` with the full name of the S3 bucket found above. This will copy the auto-generated `aws-config.js` file into the `src/assets` folder in your Ionic app, which pre-configures all your AWS settings automatically.\n\n### Enabling file uploads\n\nThe Account page has an example of taking a photo or uploading a file to the `userfiles` S3 bucket. To enable uploads from the web, make sure to edit the CORS Policy for the S3 bucket by opening the bucket with `userfiles` in it from the Resources tab in the Mobile Hub.\n\nA working, albeit liberal CORS configuration looks like\n\n```xml\n\u003c!-- Sample policy --\u003e\n\u003cCORSConfiguration\u003e\n\t\u003cCORSRule\u003e\n\t\t\u003cAllowedOrigin\u003e*\u003c/AllowedOrigin\u003e\n\t\t\u003cAllowedMethod\u003eGET\u003c/AllowedMethod\u003e\n\t\t\u003cAllowedMethod\u003ePOST\u003c/AllowedMethod\u003e\n\t\t\u003cAllowedMethod\u003ePUT\u003c/AllowedMethod\u003e\n\t\t\u003cAllowedHeader\u003e*\u003c/AllowedHeader\u003e\n\t\u003c/CORSRule\u003e\n\u003c/CORSConfiguration\u003e\n```\n\n### Running the app\n\nNow the app is configured and wired up to the AWS Mobile Hub and AWS services. To run the app in the browser, run\n\n```bash\nionic serve\n```\n\nTo run the app on device, first add a platform, and then run it:\n\n```bash\nionic cordova platform add ios\nionic cordova run ios\n```\n\nOr open the platform-specific project in the relevant IDE:\n\n```bash\nopen platforms/ios/MyApp.xcodeproj\n```\n\n### Hosting app on Amazon S3\n\nSince your Ionic app is just a web app, it can be hosted as a static website in an Amazon S3 bucket. To do this, copy the web assets to the S3 bucket:\n\n```\nnpm run build\naws s3 cp --recursive ./www s3://WEBSITE_BUCKET\n```\n\nWhere `WEBSITE_BUCKET` is an S3 bucket configured with static hosting.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmobiledev%2Fionic-aws-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmobiledev%2Fionic-aws-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmobiledev%2Fionic-aws-starter/lists"}