Reloading your development environment as you make changes to your code is an obvious step for developers working with projects locally. However, if there's no setup for efficient/fast auto-reloading, this can be quite a productivity killer, especially with a modern heavy-weight dev stack where stopping/starting manually could often be quite slow. Most popular, modern … [Read more...] about Auto Reload Docker Environment With Ease
Imagine a bustling city where thousands of cars rely on a well-functioning traffic management system to navigate smoothly. If even a minor glitch occurs in this system, the entire city can grind to a halt. In the world of microservices, SerDe, or Serialization/Deserialization, plays a similar critical role. Think of it as the traffic management system that ensures data flows … [Read more...] about SerDe: The Unsung Hero of Microservices Architecture
This is the follow-up part to part 1 of Auth With JWT story. Highly recommended to go over that first if you haven't already.
Challenges:
JWT Payload Size:
As you might have read in the first part, the business challenges we were trying to solve involved supporting different roles per context(e.g course). This means a user can be a student in one course and be a … [Read more...] about Building Auth With JWT – Part 2
TLDR; JWT(JSON Web Token) can be a very easy yet effective way to build an auth platform(authentication and authorization).
In one of my past employments, I was fortunate enough to be part of an interesting yet technically challenging project, that aimed to solve the auth problem(authentication+authorization) in a distributed service-oriented architecture(I am referring to … [Read more...] about Building Auth With JWT – Part 1
You are a web application developer and trying hard to build robust, scale-able RESTful API. However, you are not documenting your API structure/skeleton at all. Hello! You are doing it wrong! It also must be a lot painful if you are maintaining this project yourself over time. I have also been through such a situation myself.
Luckily, there are a few REST API specification … [Read more...] about Document Your REST API Like A Pro
var JetpackInstantSearchOptions=JSON.parse(decodeURIComponent("%7B%22overlayOptions%22%3A%7B%22colorTheme%22%3A%22light%22%2C%22enableInfScroll%22%3Atrue%2C%22enableFilteringOpensOverlay%22%3Atrue%2C%22enablePostDate%22%3Atrue%2C%22enableSort%22%3Atrue%2C%22highlightColor%22%3A%22%23FFC%22%2C%22overlayTrigger%22%3A%22submit%22%2C%22resultFormat%22%3A%22expanded%22%2C%22showPoweredBy%22%3Atrue%2C%22defaultSort%22%3A%22relevance%22%2C%22excludedPostTypes%22%3A%5B%5D%7D%2C%22homeUrl%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%22%2C%22locale%22%3A%22en-US%22%2C%22postsPerPage%22%3A5%2C%22siteId%22%3A18994550%2C%22postTypes%22%3A%7B%22post%22%3A%7B%22singular_name%22%3A%22Post%22%2C%22name%22%3A%22Posts%22%7D%2C%22page%22%3A%7B%22singular_name%22%3A%22Page%22%2C%22name%22%3A%22Pages%22%7D%2C%22attachment%22%3A%7B%22singular_name%22%3A%22Media%22%2C%22name%22%3A%22Media%22%7D%7D%2C%22webpackPublicPath%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%5C%2Fwp-content%5C%2Fplugins%5C%2Fjetpack%5C%2Fjetpack_vendor%5C%2Fautomattic%5C%2Fjetpack-search%5C%2Fbuild%5C%2Finstant-search%5C%2F%22%2C%22isPhotonEnabled%22%3Afalse%2C%22isFreePlan%22%3Atrue%2C%22apiRoot%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%5C%2Fwp-json%5C%2F%22%2C%22apiNonce%22%3A%22155bc22a78%22%2C%22isPrivateSite%22%3Afalse%2C%22isWpcom%22%3Afalse%2C%22hasOverlayWidgets%22%3Afalse%2C%22widgets%22%3A%5B%5D%2C%22widgetsOutsideOverlay%22%3A%5B%5D%2C%22hasNonSearchWidgets%22%3Afalse%2C%22preventTrackingCookiesReset%22%3Afalse%7D"));