{"id":22542806,"url":"https://github.com/devonchurch/apple-turnover","last_synced_at":"2026-04-20T05:33:04.549Z","repository":{"id":97157279,"uuid":"130432450","full_name":"devonChurch/apple-turnover","owner":"devonChurch","description":"An AWS Cognito POC","archived":false,"fork":false,"pushed_at":"2018-05-18T09:12:17.000Z","size":1813,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:29:47.766Z","etag":null,"topics":["aws","aws-cognito","javascript","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devonChurch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-04-21T02:27:59.000Z","updated_at":"2018-08-11T04:03:12.000Z","dependencies_parsed_at":"2023-05-02T12:36:30.463Z","dependency_job_id":null,"html_url":"https://github.com/devonChurch/apple-turnover","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonChurch%2Fapple-turnover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonChurch%2Fapple-turnover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonChurch%2Fapple-turnover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonChurch%2Fapple-turnover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devonChurch","download_url":"https://codeload.github.com/devonChurch/apple-turnover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991561,"owners_count":20706126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","aws-cognito","javascript","reactjs"],"created_at":"2024-12-07T13:12:47.119Z","updated_at":"2026-04-20T05:32:59.514Z","avatar_url":"https://github.com/devonChurch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Turnover\n\nA proof of concept exploring **AWS Cognito** and its **User Pool**, **Resource Federation**, and **Signed URL** functionality.\n\nThe demo application was generated using **Serverless** principals, utilising *low cost*, *performant* and *scalable* systems within the **AWS** portfolio.\n\n## Architecture\n\n![apple-turnover](https://user-images.githubusercontent.com/15273233/40226236-36d3bf4e-5adf-11e8-9592-977f141c2920.png)\n\n## Functionality\n\n1. User are greeted with an *unauthenticated* \"welcome\" page.\n\n2. Upon *registering* or *logging in* via **AWS Cognito** users are taken to the *application* view.\n3. Any previous data associated to the user is obtained from **AWS DynamoDB** through *federated access*\n   *(This prevents unauthenticated users from interfacing with the database endpoint)*.\n\n4. Any private assets associated with the current view are obtained via **AWS S3** through *signed URL* access.\n   *(This white lists private buckets assets to authenticated users)*.\n\n5. Changes made to the users settings are persisted in **AWS DynamoDB** for returning visits.\n\n6. If a user closes the application without logging out their *authenticated* state will be remembered on the subsequent visit.\n\n7. If a user explicitly logs out of the application they will be prompted to *reauthenticate* at the \"welcome\" page upon nest visit. \n\n![cognito](https://user-images.githubusercontent.com/15273233/40226263-47c87222-5adf-11e8-8356-a179f87025de.png)\n\n## Installation\n\n* Clone this repository\n\n  ```\n  git clone https://github.com/devonChurch/apple-turnover.git\n  ```\n\n* Install project dependancies\n\n  ```\n  npm install\n  ```\n  \n## Deployment\n\n* Build and deploy a _production_ version of the application to your repositories **AWS S3**\n\n```\nnpm run deploy\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonchurch%2Fapple-turnover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevonchurch%2Fapple-turnover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonchurch%2Fapple-turnover/lists"}