Cloud-oriented Life

Cloud Native Technology Improves Lives

Iris JSON Web Tokens (JWT) Middleware

JSON Web Token (JWT) is an open standard (RFC 7519 - https://tools.ietf.org/html/rfc7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.

Read more »

Iris as gRPC-Gateway

gRPC is a modern open source high performance Remote Procedure Call framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication. It is also applicable in last mile of distributed computing to connect devices, mobile applications and browsers to backend services.

The gRPC-Gateway is a plugin of the Google protocol buffers compiler protoc. It reads protobuf service definitions and generates a reverse-proxy server which translates a RESTful HTTP API into gRPC. This server is generated according to the google.api.http annotations in your service definitions.

This article describe how Iris and gRPC integration as a gRPC-Gateway lives inside the mvc package.

Read more »

bundler-audit

bundler-audit is a utility program which looks at an application’s Gemfile.lock and then looks at rubysec/ruby-advisory-db: A database of vulnerable Ruby Gems - https://github.com/rubysec/ruby-advisory-db to see if we are using a vulnerable version of Gem or not.

Read more »

capistrano

Capistrano: A deployment automation tool built on Ruby, Rake, and SSH

Capistrano is a framework for building automated deployment scripts. Although Capistrano itself is written in Ruby, it can easily be used to deploy projects of any language or framework, be it Rails, Java, or PHP.

Read more »

flutter doctor

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.

flutter doctor is one of the command line commands from the Flutter SDK which helps us diagnose issues with our setup for building Android and iOS apps using Flutter.

This article is about FAQs of flutter doctor.

Read more »

asdf and Dart Plugin

asdf is a single CLI tool for managing multiple runtime versions. It extend with a simple plugin system to install your favourite language: Dart, Elixir, Flutter, Golang (Go), Java, Node.js, Python, Ruby …

This article is about how to use asdf and Dart plugin to install multiple Dart versions on macOS with the Homebrew package manager.

Read more »
0%