{"id":13522015,"url":"https://github.com/aws-samples/serverless-coffee","last_synced_at":"2025-03-31T22:30:29.198Z","repository":{"id":44400464,"uuid":"419465149","full_name":"aws-samples/serverless-coffee","owner":"aws-samples","description":"Serverlesspresso - The serverless coffee ordering application! As seen at AWS re:Invent 2021. Presented by AWS Serverless DA team. Questions? Contact @jbesw.","archived":false,"fork":false,"pushed_at":"2023-07-27T19:16:41.000Z","size":423,"stargazers_count":230,"open_issues_count":3,"forks_count":50,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-11-02T06:31:11.509Z","etag":null,"topics":["aws","eventbridge","lambda","nodejs","serverless","stepfunctions","vuejs"],"latest_commit_sha":null,"homepage":"https://serverlessland.com/reinvent2021/serverlesspresso","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-10-20T19:32:45.000Z","updated_at":"2024-10-23T01:48:41.000Z","dependencies_parsed_at":"2024-01-13T22:33:34.253Z","dependency_job_id":null,"html_url":"https://github.com/aws-samples/serverless-coffee","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/aws-samples%2Fserverless-coffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fserverless-coffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fserverless-coffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fserverless-coffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-samples","download_url":"https://codeload.github.com/aws-samples/serverless-coffee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552038,"owners_count":20795755,"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","eventbridge","lambda","nodejs","serverless","stepfunctions","vuejs"],"created_at":"2024-08-01T06:00:41.018Z","updated_at":"2025-03-31T22:30:27.391Z","avatar_url":"https://github.com/aws-samples.png","language":"JavaScript","funding_links":[],"categories":["Example Projects","JavaScript"],"sub_categories":[],"readme":"# Serverlesspresso - A serverless coffee ordering workload.\n\nThis repo provides the code for a serverless coffee bar exhibit, first seen at AWS re:Invent 2021. This consists of three frontend applications (not included) and various backend microservices. This README explains the  process to completely install all the various components.\n\n\n\n```bash\n.\n├── README.MD           \u003c-- This instructions file\n├── backends            \u003c-- Source code for the applicaiotn microservices and resources\n├── 001-appCore         \u003c-- Source code template for backend resources\n├── 00-baseCore         \u003c-- Source code for application Core (event bus and config tables)\n```\n\nTo see the Serverlesspresso workshop, visit: https://workshop.serverlesscoffee.com/.\nIn this workshop, you will deploy a serverless backend that supports a pop-up coffee shop. You will then test your application using 3 front-end applications that are provided.\n\n\n## Installing the backend\n\nFor all of the deployments, use `us-east-1` for Region when prompted.\n\n### 1. Installing the core stack\n\nThis create a custom event bus, custom SMS auth flow for Cognito signin, and other foundational resources used by other services.\n\n1. From the command line, install the realtime messaging stack:\n```\ncd /00-baseCore\nsam build\nsam deploy --guided\n```\nDuring the prompts, enter `serverlesspresso-core` for the Stack Name, `core` for Service, and accept the defaults for the remaining questions.\n\n2. After installation, note the outputs section, which provides the UserPoolID, bus name and ARN, IoT endpoint, and user pool client name. These outputs are also stored in [AWS Systems Manager Parameter Store](https://console.aws.amazon.com/systems-manager/parameters/) for the subsequent SAM stacks to use.\n\n### 2. Install microservices\n\n```\ncd /01-appCore\nsam build\nsam deploy --guided\n```\nDuring the prompts, enter `serverlesspresso` for the Stack Name.\n\n## Cleaning up\n\n1. Navigate to the AWS CloudFormation console.\n2. Delete each stack that starts with `serverlesspresso`.\n\n## Next steps\nIf you have any questions, please contact the author or raise an issue in the GitHub repo.\n\nImportant: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the [AWS Pricing page](https://aws.amazon.com/pricing/) for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.\n\n\n==============================================\n\n\nCopyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n\nSPDX-License-Identifier: MIT-0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Fserverless-coffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-samples%2Fserverless-coffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Fserverless-coffee/lists"}