Skip to content

jmcdo29/boilerplate-microserve-nestjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOILER PLATE MICROSERVICE Docker

Usage example

Step 1: Init project

  • Open 'boilerplate-microservice-nestjs' folder in terminal and run this command
bash start.sh

Step 2: Init database

  • 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

Step 3: Access

  • Json rpc api: api-gateway

  • Example request

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "user.register",
      "params": {
          "username": "sangvm",
          "email": "sang.vo@smartdev.com",
          "password": "123123123",
          "passwordConfirm": "123123123"
    }
    

Other

Log System

  • api-gateway
docker logs --tail 1000 api-gateway_1 
  • app-service
docker logs --tail 1000 app-service_1 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • JavaScript 4.0%
  • Dockerfile 1.6%
  • Shell 1.6%