Skip to content

Gratheon/user-cycle

Repository files navigation

user-cycle

Gratheon.com user data related service, responsible for:

  • registration & login
  • billing
  • translations of web-app labels (would be good to move to separate service)

Stripe

Architecture

flowchart LR
    web-app("<a href='https://github.com/Gratheon/web-app'>web-app</a>") --> graphql-router
    
    graphql-router --> user-cycle("<a href='https://github.com/Gratheon/user-cycle'>user-cycle</a>") --"CRUD on user"--> mysql
    user-cycle --> stripe
    user-cycle --"register schema"--> graphql-schema-registry
    graphql-router --> graphql-schema-registry

    web-app--"translate text" --> user-cycle --"translate phrases"--> clarifai
    user-cycle--"get/set translations"--> mysql

    user-cycle--"send emails"--> sendgrid
Loading

Development

make start

Testing

Payment flow

stripe listen --forward-to localhost:4000/webhook

Enter 4242 4242 4242 4242 as the card number Enter any future date for card expiry Enter any 3-digit number for CVV Enter any billing postal code (90210)

About

gratheon.com user lifecycle management microservice

Resources

License

Stars

Watchers

Forks