{"id":22415064,"url":"https://github.com/nitor-infotech-oss/aws-serverless-starter-kit","last_synced_at":"2026-05-01T01:31:37.051Z","repository":{"id":98591780,"uuid":"326663870","full_name":"nitor-infotech-oss/aws-serverless-starter-kit","owner":"nitor-infotech-oss","description":"This can be used as reference implementation or starter kit for micro-services based implementation for React APP in serverless way. It can be used to deploy any API.","archived":false,"fork":false,"pushed_at":"2021-01-05T09:07:49.000Z","size":505,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T04:16:52.810Z","etag":null,"topics":["aws","aws-amplify","aws-appsync","aws-lambda","dynamodb","serverless"],"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/nitor-infotech-oss.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":"2021-01-04T11:35:58.000Z","updated_at":"2021-01-05T09:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"31da1c48-f7d7-4aee-adb3-3b4a4c06be45","html_url":"https://github.com/nitor-infotech-oss/aws-serverless-starter-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nitor-infotech-oss/aws-serverless-starter-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Faws-serverless-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Faws-serverless-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Faws-serverless-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Faws-serverless-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitor-infotech-oss","download_url":"https://codeload.github.com/nitor-infotech-oss/aws-serverless-starter-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Faws-serverless-starter-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["aws","aws-amplify","aws-appsync","aws-lambda","dynamodb","serverless"],"created_at":"2024-12-05T15:11:03.039Z","updated_at":"2026-05-01T01:31:37.028Z","avatar_url":"https://github.com/nitor-infotech-oss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless-React-Amplify-Cognito-Appsync-App\n\n![Architecture](https://github.com/nitor-infotech-oss/aws-serverless-starter-kit/blob/master/Serverless-AWS-Amplify-Cognito-Appsync.png)\n\n\n##### This Component will be used as reference implementation or starter kit for micro-services based implementation for React APP in serverless way. It can be used to deploy any API.\n\n#### Techonologies used -\n- React \n- GraphQL\n- AWS \n \n#### Used following AWS services :\n \n##### AWS component to be used - \n - AWS App Sync\n - AWS Lambda\n - AWS DynamoDB\n - AWS Cognito\n \n##### Deployment -\n - AWS Amplify\n - Serverless.yml\n\n##### Prerequisite -\n - Node 12+\n - npm\n - Python 3+\n\n### Steps for setup and deployment -\n\n### Clone repository on local using \n\n```bash\ngit clone \"https://github.com/nitor-infotech-oss/aws-serverless-starter-kit.git\"\n```\n\n\n###  To setup Backend follow below steps \n\n```bash\ncd backend\n```\n\n### First Install serverless framework\n\n```bash\nnpm i serverless -g\n```\n### You have to configure IAM user from our AWS account to use aws service and deployment\n\n#### Go to IAM service on aws \u0026 \n- create new user with programattic access \n- attached existing policy to the user \u0026 set administrator access\n\n```bash\ncd backend\nserverless config credentials --provider aws --key xxx --secret yyy --profile zzz\n```\n\n### Now you have to update serverless.yml file for below configurations\n\n- region: '********' # add region\n- profile: '************' # add user profile name here\n- userPoolId:  '*****' # required # user pool ID\n\n### Next, we'll run the deploy command to create the services in our account:\n\n```bash\nsls deploy\n```\n\n#### Once the deploy is complete, the AWS Appsync service, Dynampdb \u0026 Lambda functions have been successfully created in our account.\n\n### You can check above services in your AWS account\n\n### Now to setup frontend i.e. React APP follow below steps - \n\n```bash\ncd ..\ncd frondend\n```\n\n```bash\nnpm i\n```\n\n### The next thing we need to do is install \u0026 configure the AWS Amplify CLI. To do so, we'll use npm:\n\n```bash\nnpm install -g @aws-amplify/cli\n```\n\n### Once the CLI is installed, we'll need to configure it to use an IAM user from our AWS account\n\n```bash\namplify configure\n```\n\n### Next, we'll run the push command to create the services in our account:\n\n```bash\namplify push\n```\n\n### Now, you'll be prompted for the following:\n\n- Do you want to generate code for your newly created GraphQL API? Y\n\n- Choose the code generation language target: JavaScript\n\n- Enter the file name pattern of graphql queries, mutations and subscriptions: src/graphql/*/.js\n\n- Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions: Y\n\n##### Once the push is complete, the AWS Amplify service have been successfully created in our account.\n\n##### The library will recognize this directive \u0026 automcatically expand the schema into additional schema that is typically necessary for a robust API, including queries, mutations, subscriptions, resolvers \u0026 a data source (Amazon DynamoDB). Everything you need to get up \u0026 running is now set up for you using this directive.\n\n##### If at any time you would like to view the services that have been created in your Amplify configuration, you can run amplify status.\n\n##### Now before running app you have to configure aws cognito user pool id \u0026 graphql API endpoint which we have created using backend setup in aws-exports.js\n\n##### Now, we should be able to run the app \u0026 see the queried data rendered to our screen:\n\n```bash\nnpm start\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitor-infotech-oss%2Faws-serverless-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitor-infotech-oss%2Faws-serverless-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitor-infotech-oss%2Faws-serverless-starter-kit/lists"}