├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .graphqlrc ├── .prettierc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── graphql-documents ├── CREATE_TASK.graphql ├── CREATE_TASK_VARIABLES.graphql ├── CREATE_USER.graphql ├── CREATE_USERS.graphql ├── CREATE_USER_ARGUMENTS.graphql ├── ENUM_VALUES_INTROSPECTION.graphql ├── GET_TASKS.graphql ├── GET_USERS.graphql ├── GET_USERS_ALIASES.graphql ├── GET_USERS_FRAGMENTS.graphql └── USER_FIELDS_FRAGMENT.graphql ├── nodemon.json ├── package.json ├── secrets ├── development-local.env ├── production-production.env └── production-staging.env ├── server ├── config │ └── config.ts ├── db │ ├── tasks-db.ts │ └── users-db.ts ├── gateway │ ├── custom-scalars │ │ └── DateTime.ts │ ├── index.ts │ ├── sdl-schema.graphql │ ├── tasks │ │ ├── CreateTaskInputType.ts │ │ ├── CreateTaskPayloadType.ts │ │ ├── TaskMutations.ts │ │ ├── TaskQueries.ts │ │ ├── TaskStateEnumType.ts │ │ ├── TaskType.ts │ │ └── tasks-operations.ts │ └── users │ │ ├── CreateUserInputType.ts │ │ ├── CreateUserPayload.ts │ │ ├── CreateUsersPayload.ts │ │ ├── UserMutations.ts │ │ ├── UserQueries.ts │ │ ├── UserRoleEnumType.ts │ │ ├── UserType.ts │ │ └── users-operations.ts ├── index.ts ├── init-aliases.ts ├── initGraphQLServer.ts └── lib │ ├── gen-id.ts │ ├── gen-sdl-schema.ts │ └── http-redirect.ts ├── tests ├── global-setup.ts ├── global-teardown.ts ├── integration │ └── example.integration.test.ts ├── jest.eslint.config.json ├── jest.integration.config.json ├── jest.unit.config.json └── unit │ └── example.unit.test.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | 2 | dist 3 | node_modules -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.graphqlrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/.graphqlrc -------------------------------------------------------------------------------- /.prettierc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/.prettierc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/README.md -------------------------------------------------------------------------------- /graphql-documents/CREATE_TASK.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/CREATE_TASK.graphql -------------------------------------------------------------------------------- /graphql-documents/CREATE_TASK_VARIABLES.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/CREATE_TASK_VARIABLES.graphql -------------------------------------------------------------------------------- /graphql-documents/CREATE_USER.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/CREATE_USER.graphql -------------------------------------------------------------------------------- /graphql-documents/CREATE_USERS.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/CREATE_USERS.graphql -------------------------------------------------------------------------------- /graphql-documents/CREATE_USER_ARGUMENTS.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/CREATE_USER_ARGUMENTS.graphql -------------------------------------------------------------------------------- /graphql-documents/ENUM_VALUES_INTROSPECTION.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/ENUM_VALUES_INTROSPECTION.graphql -------------------------------------------------------------------------------- /graphql-documents/GET_TASKS.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/GET_TASKS.graphql -------------------------------------------------------------------------------- /graphql-documents/GET_USERS.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/GET_USERS.graphql -------------------------------------------------------------------------------- /graphql-documents/GET_USERS_ALIASES.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/GET_USERS_ALIASES.graphql -------------------------------------------------------------------------------- /graphql-documents/GET_USERS_FRAGMENTS.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/GET_USERS_FRAGMENTS.graphql -------------------------------------------------------------------------------- /graphql-documents/USER_FIELDS_FRAGMENT.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/graphql-documents/USER_FIELDS_FRAGMENT.graphql -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/package.json -------------------------------------------------------------------------------- /secrets/development-local.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/secrets/development-local.env -------------------------------------------------------------------------------- /secrets/production-production.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/secrets/production-production.env -------------------------------------------------------------------------------- /secrets/production-staging.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/secrets/production-staging.env -------------------------------------------------------------------------------- /server/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/config/config.ts -------------------------------------------------------------------------------- /server/db/tasks-db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/db/tasks-db.ts -------------------------------------------------------------------------------- /server/db/users-db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/db/users-db.ts -------------------------------------------------------------------------------- /server/gateway/custom-scalars/DateTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/custom-scalars/DateTime.ts -------------------------------------------------------------------------------- /server/gateway/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/index.ts -------------------------------------------------------------------------------- /server/gateway/sdl-schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/sdl-schema.graphql -------------------------------------------------------------------------------- /server/gateway/tasks/CreateTaskInputType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/CreateTaskInputType.ts -------------------------------------------------------------------------------- /server/gateway/tasks/CreateTaskPayloadType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/CreateTaskPayloadType.ts -------------------------------------------------------------------------------- /server/gateway/tasks/TaskMutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/TaskMutations.ts -------------------------------------------------------------------------------- /server/gateway/tasks/TaskQueries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/TaskQueries.ts -------------------------------------------------------------------------------- /server/gateway/tasks/TaskStateEnumType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/TaskStateEnumType.ts -------------------------------------------------------------------------------- /server/gateway/tasks/TaskType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/TaskType.ts -------------------------------------------------------------------------------- /server/gateway/tasks/tasks-operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/tasks/tasks-operations.ts -------------------------------------------------------------------------------- /server/gateway/users/CreateUserInputType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/CreateUserInputType.ts -------------------------------------------------------------------------------- /server/gateway/users/CreateUserPayload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/CreateUserPayload.ts -------------------------------------------------------------------------------- /server/gateway/users/CreateUsersPayload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/CreateUsersPayload.ts -------------------------------------------------------------------------------- /server/gateway/users/UserMutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/UserMutations.ts -------------------------------------------------------------------------------- /server/gateway/users/UserQueries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/UserQueries.ts -------------------------------------------------------------------------------- /server/gateway/users/UserRoleEnumType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/UserRoleEnumType.ts -------------------------------------------------------------------------------- /server/gateway/users/UserType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/UserType.ts -------------------------------------------------------------------------------- /server/gateway/users/users-operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/gateway/users/users-operations.ts -------------------------------------------------------------------------------- /server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/index.ts -------------------------------------------------------------------------------- /server/init-aliases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/init-aliases.ts -------------------------------------------------------------------------------- /server/initGraphQLServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/initGraphQLServer.ts -------------------------------------------------------------------------------- /server/lib/gen-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/lib/gen-id.ts -------------------------------------------------------------------------------- /server/lib/gen-sdl-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/lib/gen-sdl-schema.ts -------------------------------------------------------------------------------- /server/lib/http-redirect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/server/lib/http-redirect.ts -------------------------------------------------------------------------------- /tests/global-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/global-setup.ts -------------------------------------------------------------------------------- /tests/global-teardown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/global-teardown.ts -------------------------------------------------------------------------------- /tests/integration/example.integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/integration/example.integration.test.ts -------------------------------------------------------------------------------- /tests/jest.eslint.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/jest.eslint.config.json -------------------------------------------------------------------------------- /tests/jest.integration.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/jest.integration.config.json -------------------------------------------------------------------------------- /tests/jest.unit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/jest.unit.config.json -------------------------------------------------------------------------------- /tests/unit/example.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tests/unit/example.unit.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atherosai/graphql-gateway-apollo-express/HEAD/tsconfig.json --------------------------------------------------------------------------------