Blog d(x)
CategoriesTagsGithub
  • Nest.js log incoming request using interceptor

    Tuesday, December 8, 2020

    It is common to do audit logging for a json-over-http RESTful API server. What should be logged depends on your business logic and requirements while very often we need to access both the request object and the actual response. And we want to handle them in one place. In Express, we attach a series of middleware to handle our route, i.e., by calling the next() function to pass the handle to our next middleware.…

    Node.jsNest.jsSwaggerOAS 3.0

  • Micro-services development with Minikube and Skaffold

    Sunday, November 1, 2020

    While developing a multi-component application, like a micro-services backend, the release environments are quite different from the ones on our local machines. For example, during releases, the docker images are built and pushed to an artifactory then get deployed to a cloud kubernetes cluster. There are more steps going on in the CI/CD pipeline, accessing key vaults, applying configmaps, etc. Scenario Services are sometimes dependent on each other. As in my scenario, we are using the API-LED architecture.…

    DevOpsKubernetesMinikubeSkaffold

  • Blogging with Hugo & gh-pages

    Saturday, October 17, 2020

    Having been working as a software developer for over a year, I finally started this blog for the good habit of taking notes along the way of learning. Goals This initial post will walk through the steps of: Setting up Hugo for local development and post drafting Hosting your source code on Github, and your static site generated on the gh-pages branch Use Github Actions to automate your Hugo build and deployment.…

    WebHugoGithub Actions

©2022 Roy Tang

Powered by Hugo and the Notepadium