• Effective and Simple Logging in NestJS Using Pino Logger

    What is logging? Logging is information in Programming to trace some behaviour inside our software. In computing, logging is the act of keeping a log of events that occur in a computer system, such as problems, errors or just information on current operations (Wikipedia) Why this is important?, I remember when I got feedback from…

  • GPG Encryption Snippet

    Generate pair of key List keys Export public key You can use tab to see available key Only share this key to others Export secret key DO NOT SHARE THIS SECRET KEY What is –armor ? Armor will generate to ascii format instead binary format. Binary format can’t open by text editor and can’t easily…

  • Kunci Data Sensitif Menggunakan AGE Encryption

    Age adalah tools untuk enkripsi dan dekripsi data yang simple dan modern. Dibanding menggunakan GPG (Gnupg) yang cukup rumit dan tidak ramah bagi pengguna baru, age memiliki perintah yang mudah digunakan bahkan bagi pengguna baru. Enkripsi penting dilakukan di era modern ini, begitu banyak data yang dibagikan di internet. Jika data yang kamu kirimkan cukup…

  • SOPS: How to Secure Your Config File

    ENV is a very important part of any application. It is used to store sensitive information in it, like credential, secret key, configuration, and other thing that we put inside it. Usually env used at application along with other file in the root folder. It SHOULD NEVER put in git history even your repository is…

  • Implementation Authentication in ExpressJS V4.x Using JWT

    ExpressJs is a tools in nodejs to create server side application, it’s very popular and have a lot of feature to create web application. Authentication is the act of proving an assertion, such as the identity of a computer system user – Wikipedia Authentication is important in private area in our application, it prevent our…

  • NestJS: Google OAuth2 Authentication with Passport

    Overview We will create project Nestjs using authentication with library passportjs, we will use OAuth strategy for this project. NestJs Nestjs is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript. Nestjs core engine still using expressjs as server library, so there is same concept between expressjs…

  • Responsive Image Web Browser

    With modern browsers’ ability to choose the displayed image, we can boost user experience. This article guides you through creating responsive images

  • Mungkin Kamu Tidak Butuh Nextjs, Kenapa?

    Membuat produk atau jadi budak Kerangka Kerja (framework) ? Sudah banyak aplikasi dan website sudah ku buat, kebanyakan menggunakan framework Nextjs . Framework frontend ini sangat mudah digunakan, tetapi banyak fitur yang tidak digunakan yang akhirnya membuat aplikasi menjadi besar (dalam segi ukuran file) dan lambat saat load data. Fitur nextjs yang sangat tidak digunakan…