- Open 'boilerplate-microservice-nestjs' folder in terminal and run this command
bash start.sh
- create schema database
docker exec -it app-service_1 yarn migrate:init-schema
- create tables database
docker exec -it app-service_1 yarn migrate:run
-
Json rpc api: api-gateway
-
Example request
{ "jsonrpc": "2.0", "id": 1, "method": "user.register", "params": { "username": "sangvm", "email": "[email protected]", "password": "123123123", "passwordConfirm": "123123123" }
- api-gateway
docker logs --tail 1000 api-gateway_1
- app-service
docker logs --tail 1000 app-service_1