├── .github ├── dependabot.yml └── workflows │ ├── deploy-auth.yml │ ├── deploy-client.yml │ ├── deploy-expiration.yml │ ├── deploy-manifests.yml │ ├── deploy-orders.yml │ ├── deploy-payments.yml │ ├── deploy-tickets.yml │ ├── publish-common-package-to-github.yaml.disabled │ ├── publish-common-package-to-npmjs.yaml.disabled │ ├── tests-auth.yml │ ├── tests-orders.yml │ ├── tests-payments.yml │ └── tests-tickets.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── Readme.md ├── app ├── auth │ ├── .dockerignore │ ├── Dockerfile │ ├── package.json │ ├── src │ │ ├── app.ts │ │ ├── index.ts │ │ ├── models │ │ │ └── User.ts │ │ ├── routes │ │ │ ├── __test__ │ │ │ │ ├── current-user.test.ts │ │ │ │ ├── signin.test.ts │ │ │ │ ├── signout.test.ts │ │ │ │ └── signup.test.ts │ │ │ ├── current-user.ts │ │ │ ├── metrics.ts │ │ │ ├── signin.ts │ │ │ ├── signout.ts │ │ │ └── signup.ts │ │ ├── services │ │ │ └── password.ts │ │ └── test │ │ │ └── setup.ts │ └── tsconfig.json ├── client │ ├── .dockerignore │ ├── Dockerfile │ ├── jsconfig.json │ ├── next.config.js │ ├── package.json │ └── src │ │ ├── api │ │ └── build-client.js │ │ ├── components │ │ └── Header.js │ │ ├── hooks │ │ └── use-request.js │ │ └── pages │ │ ├── _app.js │ │ ├── auth │ │ ├── signin.js │ │ ├── signout.js │ │ └── signup.js │ │ ├── index.js │ │ ├── orders │ │ ├── [orderId].js │ │ └── index.js │ │ └── tickets │ │ ├── [ticketId].js │ │ └── new.js ├── common │ ├── .gitignore │ ├── package.json │ ├── src │ │ ├── errors │ │ │ ├── bad-request-error.ts │ │ │ ├── custom-error.ts │ │ │ ├── database-connection-error.ts │ │ │ ├── not-authorized-error.ts │ │ │ ├── not-found-error.ts │ │ │ └── request-validation-error.ts │ │ ├── events │ │ │ ├── AListener.ts │ │ │ ├── APublisher.ts │ │ │ ├── ESubjects.ts │ │ │ ├── IExpirationCompleteEvent.ts │ │ │ ├── IOrderCancelledEvent.ts │ │ │ ├── IOrderCreatedEvent.ts │ │ │ ├── IPaymentCreatedEvent.ts │ │ │ ├── ITicketCreatedEvent.ts │ │ │ ├── ITicketUpdatedEvent.ts │ │ │ └── types │ │ │ │ └── EOrderStatus.ts │ │ ├── index.ts │ │ └── middlewares │ │ │ ├── current-user.ts │ │ │ ├── error-handler.ts │ │ │ ├── require-auth.ts │ │ │ └── validate-request.ts │ └── tsconfig.json ├── expiration │ ├── .dockerignore │ ├── Dockerfile │ ├── package.json │ ├── src │ │ ├── NatsWrapper.ts │ │ ├── __mocks__ │ │ │ └── NatsWrapper.ts │ │ ├── events │ │ │ ├── listeneres │ │ │ │ ├── OrderCreatedListener.ts │ │ │ │ └── queueGroupName.ts │ │ │ └── publishers │ │ │ │ └── ExpirationCompletePublisher.ts │ │ ├── index.ts │ │ └── queues │ │ │ └── expiration-queue.ts │ └── tsconfig.json ├── nats-test │ ├── package.json │ ├── src │ │ ├── events │ │ │ ├── TicketCreatedListener.ts │ │ │ └── TicketCreatedPublisher.ts │ │ ├── listener.ts │ │ └── publisher.ts │ └── tsconfig.json ├── orders │ ├── .dockerignore │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .huskyrc.json │ ├── Dockerfile │ ├── package.json │ ├── src │ │ ├── NatsWrapper.ts │ │ ├── __mocks__ │ │ │ └── NatsWrapper.ts │ │ ├── app.ts │ │ ├── events │ │ │ ├── listeners │ │ │ │ ├── ExpirationCompleteListener.ts │ │ │ │ ├── PaymentCreatedListener.ts │ │ │ │ ├── TicketCreatedListener.ts │ │ │ │ ├── TicketUpdatedListener.ts │ │ │ │ ├── __test__ │ │ │ │ │ ├── ExpirationCompleteListener.ts │ │ │ │ │ ├── TicketCreatedListener.test.ts │ │ │ │ │ └── TicketUpdatedLister.test.ts │ │ │ │ └── queueGroupName.ts │ │ │ └── publishers │ │ │ │ ├── OrderCancelledPublisher.ts │ │ │ │ └── OrderCreatedPublisher.ts │ │ ├── index.ts │ │ ├── models │ │ │ ├── Order.ts │ │ │ └── Ticket.ts │ │ ├── routes │ │ │ ├── __test__ │ │ │ │ ├── delete.test.ts │ │ │ │ ├── index.test.ts │ │ │ │ ├── new.test.ts │ │ │ │ └── show.test.ts │ │ │ ├── delete.ts │ │ │ ├── index.ts │ │ │ ├── new.ts │ │ │ └── show.ts │ │ └── test │ │ │ └── setup.ts │ ├── tsconfig.eslint.json │ └── tsconfig.json ├── payments │ ├── .dockerignore │ ├── Dockerfile │ ├── package.json │ ├── src │ │ ├── NatsWrapper.ts │ │ ├── __mocks__ │ │ │ ├── NatsWrapper.ts │ │ │ └── stripe.ts.disabled │ │ ├── app.ts │ │ ├── events │ │ │ ├── listeners │ │ │ │ ├── OrderCancelledListener.ts │ │ │ │ ├── OrderCreatedListener.ts │ │ │ │ ├── __test__ │ │ │ │ │ ├── OrderCancelledListener.test.ts │ │ │ │ │ └── OrderCreatedListener.test.ts │ │ │ │ └── queueGroupName.ts │ │ │ └── publishers │ │ │ │ └── PaymentCreatedPublisher.ts │ │ ├── index.ts │ │ ├── models │ │ │ ├── Order.ts │ │ │ └── Payment.ts │ │ ├── routes │ │ │ ├── __test__ │ │ │ │ └── new.test.ts │ │ │ └── new.ts │ │ ├── stripeApp.ts │ │ └── test │ │ │ └── setup.ts │ └── tsconfig.json └── tickets │ ├── .dockerignore │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .huskyrc.json │ ├── Dockerfile │ ├── package.json │ ├── src │ ├── NatsWrapper.ts │ ├── __mocks__ │ │ └── NatsWrapper.ts │ ├── app.ts │ ├── events │ │ ├── listeners │ │ │ ├── OrderCancelledListener.ts │ │ │ ├── OrderCreatedListener.ts │ │ │ ├── __test__ │ │ │ │ ├── OrderCancelledListener.test.ts │ │ │ │ └── OrderCreatedListener.test.ts │ │ │ └── queueGroupName.ts │ │ └── publishers │ │ │ ├── TicketCreatedPublisher.ts │ │ │ └── TicketUpdatedPublisher.ts │ ├── index.ts │ ├── models │ │ ├── Ticket.ts │ │ └── __test__ │ │ │ └── Ticket.test.ts │ ├── routes │ │ ├── __test__ │ │ │ ├── index.test.ts │ │ │ ├── new.test.ts │ │ │ ├── show.test.ts │ │ │ └── update.test.ts │ │ ├── index.ts │ │ ├── new.ts │ │ ├── show.ts │ │ └── update.ts │ └── test │ │ └── setup.ts │ ├── tsconfig.eslint.json │ └── tsconfig.json ├── docs ├── 01-auth-service.md ├── 02-client-service.md ├── 03-shared-library.md ├── 04-tickets-service.md ├── 05-messaging.md ├── 06-orders-service.md ├── 07-expiration-service.md ├── 08-payments-service.md └── Development.md ├── k8s └── helm │ └── microservices │ ├── Chart.yaml │ └── charts │ ├── auth │ ├── Chart.yaml │ └── templates │ │ ├── auth-clusterIP.yaml │ │ ├── auth-deployment.yaml │ │ ├── auth-mongo-clusterIP.yaml │ │ └── auth-mongo-deployment.yaml │ ├── client │ ├── Chart.yaml │ └── templates │ │ ├── client-clusterIP.yaml │ │ ├── client-deployment.yaml │ │ └── ingress-config.yaml │ ├── expiration │ ├── Chart.yaml │ └── templates │ │ ├── expiration-deployment.yaml │ │ ├── expiration-redis-clusterIP.yaml │ │ └── expiration-redis-deployment.yaml │ ├── nats │ ├── Chart.yaml │ └── templates │ │ ├── nats-clusterIP.yaml │ │ └── nats-deployment.yaml │ ├── orders │ ├── Chart.yaml │ └── templates │ │ ├── orders-clusterIP.yaml │ │ ├── orders-deployment.yaml │ │ ├── orders-mongo-clusterIP.yaml │ │ └── orders-mongo-deployment.yaml │ ├── payments │ ├── Chart.yaml │ └── templates │ │ ├── payments-clusterIP.yaml │ │ ├── payments-deployment.yaml │ │ ├── payments-mongo-clusterIP.yaml │ │ └── payments-mongo-deployment.yaml │ └── tickets │ ├── Chart.yaml │ └── templates │ ├── tickets-clusterIP.yaml │ ├── tickets-deployment.yaml │ ├── tickets-mongo-clusterIP.yaml │ └── tickets-mongo-deployment.yaml └── skaffold └── skaffold.yaml /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-auth.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-auth.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-client.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-client.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-expiration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-expiration.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-manifests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-manifests.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-orders.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-orders.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-payments.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-payments.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-tickets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/deploy-tickets.yml -------------------------------------------------------------------------------- /.github/workflows/publish-common-package-to-github.yaml.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/publish-common-package-to-github.yaml.disabled -------------------------------------------------------------------------------- /.github/workflows/publish-common-package-to-npmjs.yaml.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/publish-common-package-to-npmjs.yaml.disabled -------------------------------------------------------------------------------- /.github/workflows/tests-auth.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/tests-auth.yml -------------------------------------------------------------------------------- /.github/workflows/tests-orders.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/tests-orders.yml -------------------------------------------------------------------------------- /.github/workflows/tests-payments.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/tests-payments.yml -------------------------------------------------------------------------------- /.github/workflows/tests-tickets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.github/workflows/tests-tickets.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.~ 2 | *.log 3 | build/ 4 | node_modules/ 5 | package-lock.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/.prettierrc -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/Readme.md -------------------------------------------------------------------------------- /app/auth/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/.dockerignore -------------------------------------------------------------------------------- /app/auth/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/Dockerfile -------------------------------------------------------------------------------- /app/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/package.json -------------------------------------------------------------------------------- /app/auth/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/app.ts -------------------------------------------------------------------------------- /app/auth/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/index.ts -------------------------------------------------------------------------------- /app/auth/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/models/User.ts -------------------------------------------------------------------------------- /app/auth/src/routes/__test__/current-user.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/__test__/current-user.test.ts -------------------------------------------------------------------------------- /app/auth/src/routes/__test__/signin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/__test__/signin.test.ts -------------------------------------------------------------------------------- /app/auth/src/routes/__test__/signout.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/__test__/signout.test.ts -------------------------------------------------------------------------------- /app/auth/src/routes/__test__/signup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/__test__/signup.test.ts -------------------------------------------------------------------------------- /app/auth/src/routes/current-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/current-user.ts -------------------------------------------------------------------------------- /app/auth/src/routes/metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/metrics.ts -------------------------------------------------------------------------------- /app/auth/src/routes/signin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/signin.ts -------------------------------------------------------------------------------- /app/auth/src/routes/signout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/signout.ts -------------------------------------------------------------------------------- /app/auth/src/routes/signup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/routes/signup.ts -------------------------------------------------------------------------------- /app/auth/src/services/password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/services/password.ts -------------------------------------------------------------------------------- /app/auth/src/test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/src/test/setup.ts -------------------------------------------------------------------------------- /app/auth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/auth/tsconfig.json -------------------------------------------------------------------------------- /app/client/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/.dockerignore -------------------------------------------------------------------------------- /app/client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/Dockerfile -------------------------------------------------------------------------------- /app/client/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/jsconfig.json -------------------------------------------------------------------------------- /app/client/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/next.config.js -------------------------------------------------------------------------------- /app/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/package.json -------------------------------------------------------------------------------- /app/client/src/api/build-client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/api/build-client.js -------------------------------------------------------------------------------- /app/client/src/components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/components/Header.js -------------------------------------------------------------------------------- /app/client/src/hooks/use-request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/hooks/use-request.js -------------------------------------------------------------------------------- /app/client/src/pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/_app.js -------------------------------------------------------------------------------- /app/client/src/pages/auth/signin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/auth/signin.js -------------------------------------------------------------------------------- /app/client/src/pages/auth/signout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/auth/signout.js -------------------------------------------------------------------------------- /app/client/src/pages/auth/signup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/auth/signup.js -------------------------------------------------------------------------------- /app/client/src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/index.js -------------------------------------------------------------------------------- /app/client/src/pages/orders/[orderId].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/orders/[orderId].js -------------------------------------------------------------------------------- /app/client/src/pages/orders/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/orders/index.js -------------------------------------------------------------------------------- /app/client/src/pages/tickets/[ticketId].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/tickets/[ticketId].js -------------------------------------------------------------------------------- /app/client/src/pages/tickets/new.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/client/src/pages/tickets/new.js -------------------------------------------------------------------------------- /app/common/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | node_modules/ -------------------------------------------------------------------------------- /app/common/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/package.json -------------------------------------------------------------------------------- /app/common/src/errors/bad-request-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/bad-request-error.ts -------------------------------------------------------------------------------- /app/common/src/errors/custom-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/custom-error.ts -------------------------------------------------------------------------------- /app/common/src/errors/database-connection-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/database-connection-error.ts -------------------------------------------------------------------------------- /app/common/src/errors/not-authorized-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/not-authorized-error.ts -------------------------------------------------------------------------------- /app/common/src/errors/not-found-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/not-found-error.ts -------------------------------------------------------------------------------- /app/common/src/errors/request-validation-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/errors/request-validation-error.ts -------------------------------------------------------------------------------- /app/common/src/events/AListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/AListener.ts -------------------------------------------------------------------------------- /app/common/src/events/APublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/APublisher.ts -------------------------------------------------------------------------------- /app/common/src/events/ESubjects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/ESubjects.ts -------------------------------------------------------------------------------- /app/common/src/events/IExpirationCompleteEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/IExpirationCompleteEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/IOrderCancelledEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/IOrderCancelledEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/IOrderCreatedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/IOrderCreatedEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/IPaymentCreatedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/IPaymentCreatedEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/ITicketCreatedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/ITicketCreatedEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/ITicketUpdatedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/ITicketUpdatedEvent.ts -------------------------------------------------------------------------------- /app/common/src/events/types/EOrderStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/events/types/EOrderStatus.ts -------------------------------------------------------------------------------- /app/common/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/index.ts -------------------------------------------------------------------------------- /app/common/src/middlewares/current-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/middlewares/current-user.ts -------------------------------------------------------------------------------- /app/common/src/middlewares/error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/middlewares/error-handler.ts -------------------------------------------------------------------------------- /app/common/src/middlewares/require-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/middlewares/require-auth.ts -------------------------------------------------------------------------------- /app/common/src/middlewares/validate-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/src/middlewares/validate-request.ts -------------------------------------------------------------------------------- /app/common/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/common/tsconfig.json -------------------------------------------------------------------------------- /app/expiration/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/.dockerignore -------------------------------------------------------------------------------- /app/expiration/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/Dockerfile -------------------------------------------------------------------------------- /app/expiration/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/package.json -------------------------------------------------------------------------------- /app/expiration/src/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/NatsWrapper.ts -------------------------------------------------------------------------------- /app/expiration/src/__mocks__/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/__mocks__/NatsWrapper.ts -------------------------------------------------------------------------------- /app/expiration/src/events/listeneres/OrderCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/events/listeneres/OrderCreatedListener.ts -------------------------------------------------------------------------------- /app/expiration/src/events/listeneres/queueGroupName.ts: -------------------------------------------------------------------------------- 1 | export const queueGroupName = 'expiration-service'; 2 | -------------------------------------------------------------------------------- /app/expiration/src/events/publishers/ExpirationCompletePublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/events/publishers/ExpirationCompletePublisher.ts -------------------------------------------------------------------------------- /app/expiration/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/index.ts -------------------------------------------------------------------------------- /app/expiration/src/queues/expiration-queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/src/queues/expiration-queue.ts -------------------------------------------------------------------------------- /app/expiration/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/expiration/tsconfig.json -------------------------------------------------------------------------------- /app/nats-test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/package.json -------------------------------------------------------------------------------- /app/nats-test/src/events/TicketCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/src/events/TicketCreatedListener.ts -------------------------------------------------------------------------------- /app/nats-test/src/events/TicketCreatedPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/src/events/TicketCreatedPublisher.ts -------------------------------------------------------------------------------- /app/nats-test/src/listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/src/listener.ts -------------------------------------------------------------------------------- /app/nats-test/src/publisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/src/publisher.ts -------------------------------------------------------------------------------- /app/nats-test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/nats-test/tsconfig.json -------------------------------------------------------------------------------- /app/orders/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/.dockerignore -------------------------------------------------------------------------------- /app/orders/.eslintignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /app/orders/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/.eslintrc.json -------------------------------------------------------------------------------- /app/orders/.huskyrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/.huskyrc.json -------------------------------------------------------------------------------- /app/orders/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/Dockerfile -------------------------------------------------------------------------------- /app/orders/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/package.json -------------------------------------------------------------------------------- /app/orders/src/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/NatsWrapper.ts -------------------------------------------------------------------------------- /app/orders/src/__mocks__/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/__mocks__/NatsWrapper.ts -------------------------------------------------------------------------------- /app/orders/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/app.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/ExpirationCompleteListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/ExpirationCompleteListener.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/PaymentCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/PaymentCreatedListener.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/TicketCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/TicketCreatedListener.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/TicketUpdatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/TicketUpdatedListener.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/__test__/ExpirationCompleteListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/__test__/ExpirationCompleteListener.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/__test__/TicketCreatedListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/__test__/TicketCreatedListener.test.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/__test__/TicketUpdatedLister.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/listeners/__test__/TicketUpdatedLister.test.ts -------------------------------------------------------------------------------- /app/orders/src/events/listeners/queueGroupName.ts: -------------------------------------------------------------------------------- 1 | export const queueGroupName = 'orders-service'; 2 | -------------------------------------------------------------------------------- /app/orders/src/events/publishers/OrderCancelledPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/publishers/OrderCancelledPublisher.ts -------------------------------------------------------------------------------- /app/orders/src/events/publishers/OrderCreatedPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/events/publishers/OrderCreatedPublisher.ts -------------------------------------------------------------------------------- /app/orders/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/index.ts -------------------------------------------------------------------------------- /app/orders/src/models/Order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/models/Order.ts -------------------------------------------------------------------------------- /app/orders/src/models/Ticket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/models/Ticket.ts -------------------------------------------------------------------------------- /app/orders/src/routes/__test__/delete.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/__test__/delete.test.ts -------------------------------------------------------------------------------- /app/orders/src/routes/__test__/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/__test__/index.test.ts -------------------------------------------------------------------------------- /app/orders/src/routes/__test__/new.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/__test__/new.test.ts -------------------------------------------------------------------------------- /app/orders/src/routes/__test__/show.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/__test__/show.test.ts -------------------------------------------------------------------------------- /app/orders/src/routes/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/delete.ts -------------------------------------------------------------------------------- /app/orders/src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/index.ts -------------------------------------------------------------------------------- /app/orders/src/routes/new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/new.ts -------------------------------------------------------------------------------- /app/orders/src/routes/show.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/routes/show.ts -------------------------------------------------------------------------------- /app/orders/src/test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/src/test/setup.ts -------------------------------------------------------------------------------- /app/orders/tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/tsconfig.eslint.json -------------------------------------------------------------------------------- /app/orders/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/orders/tsconfig.json -------------------------------------------------------------------------------- /app/payments/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/.dockerignore -------------------------------------------------------------------------------- /app/payments/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/Dockerfile -------------------------------------------------------------------------------- /app/payments/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/package.json -------------------------------------------------------------------------------- /app/payments/src/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/NatsWrapper.ts -------------------------------------------------------------------------------- /app/payments/src/__mocks__/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/__mocks__/NatsWrapper.ts -------------------------------------------------------------------------------- /app/payments/src/__mocks__/stripe.ts.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/__mocks__/stripe.ts.disabled -------------------------------------------------------------------------------- /app/payments/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/app.ts -------------------------------------------------------------------------------- /app/payments/src/events/listeners/OrderCancelledListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/events/listeners/OrderCancelledListener.ts -------------------------------------------------------------------------------- /app/payments/src/events/listeners/OrderCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/events/listeners/OrderCreatedListener.ts -------------------------------------------------------------------------------- /app/payments/src/events/listeners/__test__/OrderCancelledListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/events/listeners/__test__/OrderCancelledListener.test.ts -------------------------------------------------------------------------------- /app/payments/src/events/listeners/__test__/OrderCreatedListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/events/listeners/__test__/OrderCreatedListener.test.ts -------------------------------------------------------------------------------- /app/payments/src/events/listeners/queueGroupName.ts: -------------------------------------------------------------------------------- 1 | export const queueGroupName = 'payments-service'; 2 | -------------------------------------------------------------------------------- /app/payments/src/events/publishers/PaymentCreatedPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/events/publishers/PaymentCreatedPublisher.ts -------------------------------------------------------------------------------- /app/payments/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/index.ts -------------------------------------------------------------------------------- /app/payments/src/models/Order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/models/Order.ts -------------------------------------------------------------------------------- /app/payments/src/models/Payment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/models/Payment.ts -------------------------------------------------------------------------------- /app/payments/src/routes/__test__/new.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/routes/__test__/new.test.ts -------------------------------------------------------------------------------- /app/payments/src/routes/new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/routes/new.ts -------------------------------------------------------------------------------- /app/payments/src/stripeApp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/stripeApp.ts -------------------------------------------------------------------------------- /app/payments/src/test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/src/test/setup.ts -------------------------------------------------------------------------------- /app/payments/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/payments/tsconfig.json -------------------------------------------------------------------------------- /app/tickets/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/.dockerignore -------------------------------------------------------------------------------- /app/tickets/.eslintignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /app/tickets/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/.eslintrc.json -------------------------------------------------------------------------------- /app/tickets/.huskyrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/.huskyrc.json -------------------------------------------------------------------------------- /app/tickets/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/Dockerfile -------------------------------------------------------------------------------- /app/tickets/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/package.json -------------------------------------------------------------------------------- /app/tickets/src/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/NatsWrapper.ts -------------------------------------------------------------------------------- /app/tickets/src/__mocks__/NatsWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/__mocks__/NatsWrapper.ts -------------------------------------------------------------------------------- /app/tickets/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/app.ts -------------------------------------------------------------------------------- /app/tickets/src/events/listeners/OrderCancelledListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/listeners/OrderCancelledListener.ts -------------------------------------------------------------------------------- /app/tickets/src/events/listeners/OrderCreatedListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/listeners/OrderCreatedListener.ts -------------------------------------------------------------------------------- /app/tickets/src/events/listeners/__test__/OrderCancelledListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/listeners/__test__/OrderCancelledListener.test.ts -------------------------------------------------------------------------------- /app/tickets/src/events/listeners/__test__/OrderCreatedListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/listeners/__test__/OrderCreatedListener.test.ts -------------------------------------------------------------------------------- /app/tickets/src/events/listeners/queueGroupName.ts: -------------------------------------------------------------------------------- 1 | export const queueGroupName = 'tickets-service'; 2 | -------------------------------------------------------------------------------- /app/tickets/src/events/publishers/TicketCreatedPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/publishers/TicketCreatedPublisher.ts -------------------------------------------------------------------------------- /app/tickets/src/events/publishers/TicketUpdatedPublisher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/events/publishers/TicketUpdatedPublisher.ts -------------------------------------------------------------------------------- /app/tickets/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/index.ts -------------------------------------------------------------------------------- /app/tickets/src/models/Ticket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/models/Ticket.ts -------------------------------------------------------------------------------- /app/tickets/src/models/__test__/Ticket.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/models/__test__/Ticket.test.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/__test__/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/__test__/index.test.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/__test__/new.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/__test__/new.test.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/__test__/show.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/__test__/show.test.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/__test__/update.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/__test__/update.test.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/index.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/new.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/show.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/show.ts -------------------------------------------------------------------------------- /app/tickets/src/routes/update.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/routes/update.ts -------------------------------------------------------------------------------- /app/tickets/src/test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/src/test/setup.ts -------------------------------------------------------------------------------- /app/tickets/tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/tsconfig.eslint.json -------------------------------------------------------------------------------- /app/tickets/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/app/tickets/tsconfig.json -------------------------------------------------------------------------------- /docs/01-auth-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/01-auth-service.md -------------------------------------------------------------------------------- /docs/02-client-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/02-client-service.md -------------------------------------------------------------------------------- /docs/03-shared-library.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/03-shared-library.md -------------------------------------------------------------------------------- /docs/04-tickets-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/04-tickets-service.md -------------------------------------------------------------------------------- /docs/05-messaging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/05-messaging.md -------------------------------------------------------------------------------- /docs/06-orders-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/06-orders-service.md -------------------------------------------------------------------------------- /docs/07-expiration-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/07-expiration-service.md -------------------------------------------------------------------------------- /docs/08-payments-service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/08-payments-service.md -------------------------------------------------------------------------------- /docs/Development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/docs/Development.md -------------------------------------------------------------------------------- /k8s/helm/microservices/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/auth/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/auth/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/auth/templates/auth-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/auth/templates/auth-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/auth/templates/auth-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/auth/templates/auth-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/auth/templates/auth-mongo-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/auth/templates/auth-mongo-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/auth/templates/auth-mongo-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/auth/templates/auth-mongo-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/client/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/client/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/client/templates/client-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/client/templates/client-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/client/templates/client-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/client/templates/client-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/client/templates/ingress-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/client/templates/ingress-config.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/expiration/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/expiration/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/expiration/templates/expiration-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/expiration/templates/expiration-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/expiration/templates/expiration-redis-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/expiration/templates/expiration-redis-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/expiration/templates/expiration-redis-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/expiration/templates/expiration-redis-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/nats/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/nats/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/nats/templates/nats-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/nats/templates/nats-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/nats/templates/nats-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/nats/templates/nats-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/orders/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/orders/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/orders/templates/orders-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/orders/templates/orders-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/orders/templates/orders-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/orders/templates/orders-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/orders/templates/orders-mongo-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/orders/templates/orders-mongo-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/orders/templates/orders-mongo-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/orders/templates/orders-mongo-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/payments/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/payments/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/payments/templates/payments-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/payments/templates/payments-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/payments/templates/payments-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/payments/templates/payments-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/payments/templates/payments-mongo-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/payments/templates/payments-mongo-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/payments/templates/payments-mongo-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/payments/templates/payments-mongo-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/tickets/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/tickets/Chart.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/tickets/templates/tickets-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/tickets/templates/tickets-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/tickets/templates/tickets-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/tickets/templates/tickets-deployment.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/tickets/templates/tickets-mongo-clusterIP.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/tickets/templates/tickets-mongo-clusterIP.yaml -------------------------------------------------------------------------------- /k8s/helm/microservices/charts/tickets/templates/tickets-mongo-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/k8s/helm/microservices/charts/tickets/templates/tickets-mongo-deployment.yaml -------------------------------------------------------------------------------- /skaffold/skaffold.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmakaka/Microservices-with-Node-JS-and-React-Improved/HEAD/skaffold/skaffold.yaml --------------------------------------------------------------------------------