Uncategorized

Demo Project: product sale

Auth Service

This service provides endpoints to sign in/out/up as well as get current user based on the username/password.

Product Service

Sequence diagram shows how GET products work with authentication.

Work same for creating/getting single product.

Order Service

CRUD Order.

Payment Service

Make payment

Expiration Service

Expire order, make changes on NATS.

Client Service

UI/UX

Common Service

This service deployed to my NPM account. It is in charge of common authentication and NATS message structure. https://www.npmjs.com/package/@digital-market/common

0