├── .editorconfig ├── .env.example ├── .eslintignore ├── .gitignore ├── .husky └── pre-commit ├── .ncurc.json ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .vscode ├── extensions.json ├── launch.json └── settings.json ├── README.md ├── apps ├── README.md └── site │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── app │ ├── entry.client.tsx │ ├── entry.server.tsx │ ├── root.tsx │ ├── routes │ │ ├── auth │ │ │ ├── callback.tsx │ │ │ └── logout.tsx │ │ ├── index.tsx │ │ └── private.tsx │ ├── server │ │ ├── auth.server.ts │ │ ├── cookies.server.ts │ │ ├── env.server.ts │ │ └── session.server.ts │ ├── sst-env.d.ts │ ├── styles │ │ └── app.css │ └── utils │ │ ├── env.ts │ │ └── trpc.ts │ ├── package.json │ ├── public │ └── favicon.ico │ ├── remix.config.js │ ├── tailwind.config.js │ └── tsconfig.json ├── assets └── infrastructure.png ├── functions ├── README.md └── pre-sign-up-trigger │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── handlers.ts │ ├── index.ts │ ├── package.json │ ├── src │ └── .gitkeep │ └── tsconfig.json ├── package.json ├── packages ├── README.md ├── auth-utils │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ └── createAuthenticationFlow.ts │ └── tsconfig.json ├── cdk-constructs │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ └── EdgeDB.ts │ └── tsconfig.json ├── common │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── constants.ts │ │ │ └── validation.ts │ └── tsconfig.json ├── edgedb │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── dbschema │ │ ├── default.esdl │ │ └── migrations │ │ │ ├── 00001.edgeql │ │ │ └── 00002.edgeql │ ├── edgedb.toml │ ├── package.json │ ├── scripts │ │ ├── generate-query-builder.sh │ │ └── link.sh │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ └── .gitkeep │ └── tsconfig.json ├── eslint-config-custom │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── lambda-utils │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ └── getSecretValue.ts │ └── tsconfig.json ├── sst-stacks │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── Api.ts │ │ │ ├── App.ts │ │ │ ├── Apps.ts │ │ │ ├── Auth.ts │ │ │ ├── Config.ts │ │ │ ├── Persistence.ts │ │ │ ├── Services.ts │ │ │ ├── env │ │ │ ├── formatErrors.ts │ │ │ ├── index.ts │ │ │ └── schema.ts │ │ │ └── utils │ │ │ ├── api.ts │ │ │ ├── auth.ts │ │ │ ├── crypto.ts │ │ │ └── general.ts │ └── tsconfig.json ├── trpc-gateway │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── createGatewayLink.ts │ │ │ ├── links │ │ │ └── site.ts │ │ │ └── routers │ │ │ └── site.ts │ └── tsconfig.json ├── trpc │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── createContext.ts │ │ │ └── init.ts │ └── tsconfig.json ├── tsconfig │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── presets │ │ ├── base-preset.json │ │ ├── package-preset.json │ │ ├── remix-app-preset.json │ │ ├── service-preset.json │ │ └── vite-app-preset.json │ └── src │ │ └── index.js └── types │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── package.json │ ├── src │ └── index.ts │ └── tsconfig.json ├── services ├── README.md ├── auth │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── handlers.ts │ ├── index.ts │ ├── package.json │ ├── src │ │ ├── procedures │ │ │ ├── mutations │ │ │ │ ├── credentials.ts │ │ │ │ └── credentials │ │ │ │ │ ├── issue.ts │ │ │ │ │ └── refresh.ts │ │ │ └── queries │ │ │ │ └── userInfo.ts │ │ ├── router.ts │ │ ├── utils │ │ │ └── fetchCognito.ts │ │ └── validators │ │ │ ├── issueCredentials.ts │ │ │ ├── refreshCredentials.ts │ │ │ └── userInfo.ts │ ├── tsconfig.json │ └── validators.ts └── demo │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── handlers.ts │ ├── index.ts │ ├── package.json │ ├── src │ ├── procedures │ │ ├── mutations │ │ │ └── .gitkeep │ │ └── queries │ │ │ └── helloWorld.ts │ ├── router.ts │ └── validators │ │ └── .gitkeep │ ├── tsconfig.json │ └── validators.ts ├── sst.json └── turbo.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | .build 2 | .sst 3 | dist 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm run pre-commit 5 | -------------------------------------------------------------------------------- /.ncurc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.ncurc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | loglevel=error -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .build 2 | .sst 3 | dist 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/README.md -------------------------------------------------------------------------------- /apps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/README.md -------------------------------------------------------------------------------- /apps/site/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/.eslintignore -------------------------------------------------------------------------------- /apps/site/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/.gitignore -------------------------------------------------------------------------------- /apps/site/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/.prettierignore -------------------------------------------------------------------------------- /apps/site/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/README.md -------------------------------------------------------------------------------- /apps/site/app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/entry.client.tsx -------------------------------------------------------------------------------- /apps/site/app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/entry.server.tsx -------------------------------------------------------------------------------- /apps/site/app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/root.tsx -------------------------------------------------------------------------------- /apps/site/app/routes/auth/callback.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/routes/auth/callback.tsx -------------------------------------------------------------------------------- /apps/site/app/routes/auth/logout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/routes/auth/logout.tsx -------------------------------------------------------------------------------- /apps/site/app/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/routes/index.tsx -------------------------------------------------------------------------------- /apps/site/app/routes/private.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/routes/private.tsx -------------------------------------------------------------------------------- /apps/site/app/server/auth.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/server/auth.server.ts -------------------------------------------------------------------------------- /apps/site/app/server/cookies.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/server/cookies.server.ts -------------------------------------------------------------------------------- /apps/site/app/server/env.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/server/env.server.ts -------------------------------------------------------------------------------- /apps/site/app/server/session.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/server/session.server.ts -------------------------------------------------------------------------------- /apps/site/app/sst-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/sst-env.d.ts -------------------------------------------------------------------------------- /apps/site/app/styles/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/styles/app.css -------------------------------------------------------------------------------- /apps/site/app/utils/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/utils/env.ts -------------------------------------------------------------------------------- /apps/site/app/utils/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/app/utils/trpc.ts -------------------------------------------------------------------------------- /apps/site/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/package.json -------------------------------------------------------------------------------- /apps/site/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/public/favicon.ico -------------------------------------------------------------------------------- /apps/site/remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/remix.config.js -------------------------------------------------------------------------------- /apps/site/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/tailwind.config.js -------------------------------------------------------------------------------- /apps/site/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/apps/site/tsconfig.json -------------------------------------------------------------------------------- /assets/infrastructure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/assets/infrastructure.png -------------------------------------------------------------------------------- /functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/functions/README.md -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/functions/pre-sign-up-trigger/README.md -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/functions/pre-sign-up-trigger/handlers.ts -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/index.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/functions/pre-sign-up-trigger/package.json -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /functions/pre-sign-up-trigger/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/functions/pre-sign-up-trigger/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/package.json -------------------------------------------------------------------------------- /packages/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/README.md -------------------------------------------------------------------------------- /packages/auth-utils/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/auth-utils/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/auth-utils/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/auth-utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/auth-utils/README.md -------------------------------------------------------------------------------- /packages/auth-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/auth-utils/package.json -------------------------------------------------------------------------------- /packages/auth-utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/auth-utils/src/index.ts -------------------------------------------------------------------------------- /packages/auth-utils/src/lib/createAuthenticationFlow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/auth-utils/src/lib/createAuthenticationFlow.ts -------------------------------------------------------------------------------- /packages/auth-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/auth-utils/tsconfig.json -------------------------------------------------------------------------------- /packages/cdk-constructs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/cdk-constructs/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/cdk-constructs/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/cdk-constructs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/cdk-constructs/README.md -------------------------------------------------------------------------------- /packages/cdk-constructs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/cdk-constructs/package.json -------------------------------------------------------------------------------- /packages/cdk-constructs/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/cdk-constructs/src/index.ts -------------------------------------------------------------------------------- /packages/cdk-constructs/src/lib/EdgeDB.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/cdk-constructs/src/lib/EdgeDB.ts -------------------------------------------------------------------------------- /packages/cdk-constructs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/cdk-constructs/tsconfig.json -------------------------------------------------------------------------------- /packages/common/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/common/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/common/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/common/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/README.md -------------------------------------------------------------------------------- /packages/common/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/package.json -------------------------------------------------------------------------------- /packages/common/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/src/index.ts -------------------------------------------------------------------------------- /packages/common/src/lib/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/src/lib/constants.ts -------------------------------------------------------------------------------- /packages/common/src/lib/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/src/lib/validation.ts -------------------------------------------------------------------------------- /packages/common/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/common/tsconfig.json -------------------------------------------------------------------------------- /packages/edgedb/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | src/lib/queryBuilder -------------------------------------------------------------------------------- /packages/edgedb/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | src/lib/queryBuilder -------------------------------------------------------------------------------- /packages/edgedb/.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | src/lib/queryBuilder -------------------------------------------------------------------------------- /packages/edgedb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/README.md -------------------------------------------------------------------------------- /packages/edgedb/dbschema/default.esdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/dbschema/default.esdl -------------------------------------------------------------------------------- /packages/edgedb/dbschema/migrations/00001.edgeql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/dbschema/migrations/00001.edgeql -------------------------------------------------------------------------------- /packages/edgedb/dbschema/migrations/00002.edgeql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/dbschema/migrations/00002.edgeql -------------------------------------------------------------------------------- /packages/edgedb/edgedb.toml: -------------------------------------------------------------------------------- 1 | [edgedb] 2 | server-version = "*" 3 | -------------------------------------------------------------------------------- /packages/edgedb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/package.json -------------------------------------------------------------------------------- /packages/edgedb/scripts/generate-query-builder.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/scripts/generate-query-builder.sh -------------------------------------------------------------------------------- /packages/edgedb/scripts/link.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/scripts/link.sh -------------------------------------------------------------------------------- /packages/edgedb/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/src/index.ts -------------------------------------------------------------------------------- /packages/edgedb/src/lib/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/edgedb/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/edgedb/tsconfig.json -------------------------------------------------------------------------------- /packages/eslint-config-custom/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/eslint-config-custom/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/eslint-config-custom/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/eslint-config-custom/README.md -------------------------------------------------------------------------------- /packages/eslint-config-custom/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/eslint-config-custom/package.json -------------------------------------------------------------------------------- /packages/eslint-config-custom/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/eslint-config-custom/src/index.js -------------------------------------------------------------------------------- /packages/lambda-utils/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/lambda-utils/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/lambda-utils/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/lambda-utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/lambda-utils/README.md -------------------------------------------------------------------------------- /packages/lambda-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/lambda-utils/package.json -------------------------------------------------------------------------------- /packages/lambda-utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/lambda-utils/src/index.ts -------------------------------------------------------------------------------- /packages/lambda-utils/src/lib/getSecretValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/lambda-utils/src/lib/getSecretValue.ts -------------------------------------------------------------------------------- /packages/lambda-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/lambda-utils/tsconfig.json -------------------------------------------------------------------------------- /packages/sst-stacks/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/sst-stacks/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/sst-stacks/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/sst-stacks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/README.md -------------------------------------------------------------------------------- /packages/sst-stacks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/package.json -------------------------------------------------------------------------------- /packages/sst-stacks/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/index.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Api.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/App.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/App.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Apps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Apps.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Auth.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Config.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Persistence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Persistence.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/Services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/Services.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/env/formatErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/env/formatErrors.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/env/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/env/index.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/env/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/env/schema.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/utils/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/utils/api.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/utils/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/utils/auth.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/utils/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/utils/crypto.ts -------------------------------------------------------------------------------- /packages/sst-stacks/src/lib/utils/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/src/lib/utils/general.ts -------------------------------------------------------------------------------- /packages/sst-stacks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/sst-stacks/tsconfig.json -------------------------------------------------------------------------------- /packages/trpc-gateway/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/trpc-gateway/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/trpc-gateway/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/trpc-gateway/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/README.md -------------------------------------------------------------------------------- /packages/trpc-gateway/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/package.json -------------------------------------------------------------------------------- /packages/trpc-gateway/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/src/index.ts -------------------------------------------------------------------------------- /packages/trpc-gateway/src/lib/createGatewayLink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/src/lib/createGatewayLink.ts -------------------------------------------------------------------------------- /packages/trpc-gateway/src/lib/links/site.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/src/lib/links/site.ts -------------------------------------------------------------------------------- /packages/trpc-gateway/src/lib/routers/site.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/src/lib/routers/site.ts -------------------------------------------------------------------------------- /packages/trpc-gateway/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc-gateway/tsconfig.json -------------------------------------------------------------------------------- /packages/trpc/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/trpc/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/trpc/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/trpc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/README.md -------------------------------------------------------------------------------- /packages/trpc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/package.json -------------------------------------------------------------------------------- /packages/trpc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/src/index.ts -------------------------------------------------------------------------------- /packages/trpc/src/lib/createContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/src/lib/createContext.ts -------------------------------------------------------------------------------- /packages/trpc/src/lib/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/src/lib/init.ts -------------------------------------------------------------------------------- /packages/trpc/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/trpc/tsconfig.json -------------------------------------------------------------------------------- /packages/tsconfig/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/tsconfig/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/tsconfig/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/README.md -------------------------------------------------------------------------------- /packages/tsconfig/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/package.json -------------------------------------------------------------------------------- /packages/tsconfig/presets/base-preset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/presets/base-preset.json -------------------------------------------------------------------------------- /packages/tsconfig/presets/package-preset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/presets/package-preset.json -------------------------------------------------------------------------------- /packages/tsconfig/presets/remix-app-preset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/presets/remix-app-preset.json -------------------------------------------------------------------------------- /packages/tsconfig/presets/service-preset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/presets/service-preset.json -------------------------------------------------------------------------------- /packages/tsconfig/presets/vite-app-preset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/tsconfig/presets/vite-app-preset.json -------------------------------------------------------------------------------- /packages/tsconfig/src/index.js: -------------------------------------------------------------------------------- 1 | // Noop 2 | -------------------------------------------------------------------------------- /packages/types/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/types/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/types/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /packages/types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/types/README.md -------------------------------------------------------------------------------- /packages/types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/types/package.json -------------------------------------------------------------------------------- /packages/types/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/types/src/index.ts -------------------------------------------------------------------------------- /packages/types/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/packages/types/tsconfig.json -------------------------------------------------------------------------------- /services/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/README.md -------------------------------------------------------------------------------- /services/auth/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/auth/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/auth/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/README.md -------------------------------------------------------------------------------- /services/auth/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/handlers.ts -------------------------------------------------------------------------------- /services/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/index.ts -------------------------------------------------------------------------------- /services/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/package.json -------------------------------------------------------------------------------- /services/auth/src/procedures/mutations/credentials.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/procedures/mutations/credentials.ts -------------------------------------------------------------------------------- /services/auth/src/procedures/mutations/credentials/issue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/procedures/mutations/credentials/issue.ts -------------------------------------------------------------------------------- /services/auth/src/procedures/mutations/credentials/refresh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/procedures/mutations/credentials/refresh.ts -------------------------------------------------------------------------------- /services/auth/src/procedures/queries/userInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/procedures/queries/userInfo.ts -------------------------------------------------------------------------------- /services/auth/src/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/router.ts -------------------------------------------------------------------------------- /services/auth/src/utils/fetchCognito.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/utils/fetchCognito.ts -------------------------------------------------------------------------------- /services/auth/src/validators/issueCredentials.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/validators/issueCredentials.ts -------------------------------------------------------------------------------- /services/auth/src/validators/refreshCredentials.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/validators/refreshCredentials.ts -------------------------------------------------------------------------------- /services/auth/src/validators/userInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/src/validators/userInfo.ts -------------------------------------------------------------------------------- /services/auth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/tsconfig.json -------------------------------------------------------------------------------- /services/auth/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/auth/validators.ts -------------------------------------------------------------------------------- /services/demo/.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/demo/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/demo/.prettierignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /services/demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/README.md -------------------------------------------------------------------------------- /services/demo/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/handlers.ts -------------------------------------------------------------------------------- /services/demo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/index.ts -------------------------------------------------------------------------------- /services/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/package.json -------------------------------------------------------------------------------- /services/demo/src/procedures/mutations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/demo/src/procedures/queries/helloWorld.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/src/procedures/queries/helloWorld.ts -------------------------------------------------------------------------------- /services/demo/src/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/src/router.ts -------------------------------------------------------------------------------- /services/demo/src/validators/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/tsconfig.json -------------------------------------------------------------------------------- /services/demo/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/services/demo/validators.ts -------------------------------------------------------------------------------- /sst.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/sst.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microeinhundert/sst-edgedb-trpc-microservices/HEAD/turbo.json --------------------------------------------------------------------------------