{"id":13695111,"url":"https://github.com/aws-samples/aws-saas-factory-ref-solution-serverless-saas","last_synced_at":"2025-05-03T09:31:43.018Z","repository":{"id":39291203,"uuid":"359918678","full_name":"aws-samples/aws-saas-factory-ref-solution-serverless-saas","owner":"aws-samples","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T14:04:27.000Z","size":11086,"stargazers_count":459,"open_issues_count":4,"forks_count":153,"subscribers_count":24,"default_branch":"main","last_synced_at":"2024-11-12T22:35:50.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T18:46:07.000Z","updated_at":"2024-11-05T12:20:33.000Z","dependencies_parsed_at":"2024-05-29T19:31:24.000Z","dependency_job_id":"5b9c8008-1f41-4f5c-aaab-ef2efd48a2db","html_url":"https://github.com/aws-samples/aws-saas-factory-ref-solution-serverless-saas","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%2Faws-saas-factory-ref-solution-serverless-saas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-saas-factory-ref-solution-serverless-saas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-saas-factory-ref-solution-serverless-saas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-saas-factory-ref-solution-serverless-saas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-samples","download_url":"https://codeload.github.com/aws-samples/aws-saas-factory-ref-solution-serverless-saas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252168972,"owners_count":21705355,"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":[],"created_at":"2024-08-02T18:00:17.666Z","updated_at":"2025-05-03T09:31:42.133Z","avatar_url":"https://github.com/aws-samples.png","language":"TypeScript","funding_links":[],"categories":["Reference Architectures"],"sub_categories":["Serverless SaaS"],"readme":"# Serverless SaaS - Reference Solution\n\nThis serverless saas reference solution is built using [SaaS Builder Toolkit (SBT)](https://github.com/awslabs/sbt-aws) control plane and core application plane components.\n\nWe have also created a workshop that you can use as a reference to understand this reference solution in a step-by-step fashion. Workshop is available [here](https://github.com/aws-samples/aws-serverless-saas-workshop).\n\n**[Feedback \u0026 Feature request](https://www.pulse.aws/survey/EHE3TICQ)** | **[Documentation](DOCUMENTATION.md)**\n\n## Pre-requisites\n\n- This reference architecture uses Python. Make sure you have Python 3.9 or above installed.\n- Make sure you have [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) installed.\n- Make sure you have the latest version of [AWS CDK CLI](https://docs.aws.amazon.com/cdk/latest/guide/cli.html) installed. Not having the release version of CDK can cause deployment issues.\n- Make sure you have the latest version of [git-remote-codecommit](https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html) installed.\n- Make sure that you have Node 18 or above.\n\n## Deploying\n\nTo deploy this reference solution run below script. Replace the \"test@example.com\" email address with yours. This email address will be used to setup an admin user in the control plane of this reference solution.\n\n```bash\ncd scripts\n./install.sh test@example.com\n```\n\nThis script will deploy the following:\n\n- Creates a codecommit repo in your AWS account and pushes this reference solutions code to the repo\n- Clones SaaS Builder Toolkit(SBT) control plane repo and installs control plane which has all shared services and control plane UI.\n- Deploys cdk stack `serverless-saas-ref-arch-bootstrap-stack` which provisions\n  - SaaS Builder Toolkit(SBT) core application plane component which provides infrastructure to provision/de-provision a tenant\n  - Infrastructure to host a saas application UI and also deploys this saas application UI.\n- Deploys pooled tenant cdk stack `serverless-saas-ref-arch-tenant-template-pooled`, which deploys cognito userpool and multi-tenant order \u0026 product services.\n- Deploys cdk stack `ServerlessSaaSPipeline` which provisions Tenant Pipeline.This pipeline uses CodePipeline and is responsible for auto updating the stack for all the tenants in an automated fashion.\n\n## Steps to Clean-up\n\nRun below script to clean up\n\n```bash\ncd scripts\n./cleanup.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Faws-saas-factory-ref-solution-serverless-saas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-samples%2Faws-saas-factory-ref-solution-serverless-saas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Faws-saas-factory-ref-solution-serverless-saas/lists"}