├── .gitignore ├── LICENSE ├── README.md ├── functions ├── add-tenant.js └── add-user.js ├── lib ├── tenants.js └── users.js ├── mapping-templates ├── Query.listUsers.request.vtl └── Query.listUsers.response.vtl ├── package.json ├── schema.graphql ├── serverless.appsync.yml └── serverless.yml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/README.md -------------------------------------------------------------------------------- /functions/add-tenant.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/functions/add-tenant.js -------------------------------------------------------------------------------- /functions/add-user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/functions/add-user.js -------------------------------------------------------------------------------- /lib/tenants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/lib/tenants.js -------------------------------------------------------------------------------- /lib/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/lib/users.js -------------------------------------------------------------------------------- /mapping-templates/Query.listUsers.request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/mapping-templates/Query.listUsers.request.vtl -------------------------------------------------------------------------------- /mapping-templates/Query.listUsers.response.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/mapping-templates/Query.listUsers.response.vtl -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/package.json -------------------------------------------------------------------------------- /schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/schema.graphql -------------------------------------------------------------------------------- /serverless.appsync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/serverless.appsync.yml -------------------------------------------------------------------------------- /serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theburningmonk/appsync-multi-tenant-demo-with-cognito/HEAD/serverless.yml --------------------------------------------------------------------------------