Microservices example with a GraphQL bff (back end for front end) and micro services, using Spring Boot with Kotlin Coroutines r2dbc and JWT
- This is just a demo project to demonstrate how to build microservices with a GraphQL bff and micro services (using Spring Boot with Kotlin Coroutines, r2dbc and JWT).
- To install this project, make sure you have a mysql database running
- Or you can use this dockerized db: https://github.com/danygiguere/docker_db (Note that I'm not adding the h2 in-memory database to this example project).
- Create two database:
micro-services-example-users-service
andmicro-services-example-posts-service
- Then start the bff and the micro services.
- Then using postman hit this route: http://localhost:8011/graphql
- create an app client
- add security tests
- aws
- add jwt and implement Login and register and refresh token
- implement reset and forgot password
- block micro services so they only accept requests from the bff