thesage.hashnode.devHow to deploy a nestjs back-end from a mono repo on fly.ioIntroduction I recently had to deploy an API backend from a monorepo on fly.io and this is a documentation of the steps. The project uses turborepo with npm managed workspace. The monorepo had the below structure Fly.io has a generous free tier that...Oct 11, 2024·4 min read
thesage.hashnode.devMastering JavaScript Proxy and Reflect API (Without the Headache)Table of Contents Introduction What’s the Deal with JavaScript Proxy? Real-life Example: Tracking Object Changes (The Simple Way) When You’d Want to Use a Proxy Data Validation Done Right Building Reactive Objects (Yeah, Vue Does This) Lazy O...Oct 11, 2024·5 min read
thesage.hashnode.devHow to secure your smart contracts: Reentrancy attacksIt is important to have security at the back of your mind when programming smart contracts, when you consider that money could be at stake. Multiple exchanges, DAO's have been hacked and millions of dollars in crypto assets stolen due to vulnerabili...Jan 18, 2022·4 min read
thesage.hashnode.devHow to understand visibility in Solidity.In solidity, visibility specifies how a function or state variable in a contract can be accessed by other contracts & external accounts. There are four(4) levels of visibility in solidity, and they are - private, public, internal, external. When writ...Jan 1, 2022·3 min read
thesage.hashnode.devHow to use .bind() in javascriptHow and where you call a function in javascript matters is very important. One reason is that it defines what 'this' points to in that function's execution context. Javascript gives us the option to decide what we want 'this' to point to each time t...Apr 29, 2021·2 min read