Open in app
Home
Notifications
Lists
Stories

Write
Chamith Madusanka
Chamith Madusanka

Home
About

Published in The Startup

·Pinned

Session Management in Nodejs Using Redis as Session Store

Why we need sessions The classic Hypertext Transfer Protocol (HTTP) is a stateless tool. This means every request that is sent from a single client is interpreted by the Web server independently and is not related to any other request. There is no inbuilt mechanism for the server to remember a specific user from…

Nodejs

7 min read

Session Management in Nodejs Using Redis as Session Store
Session Management in Nodejs Using Redis as Session Store

Published in The Startup

·Pinned

Writing Readable and Maintainable Code — Java

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live — John Woods Writing clean code is not easy. It must be readable and maintainable. Writing clean code is not a process that we can achieve very quickly…

Clean Code

6 min read

Writing Readable and Maintainable Code — Java
Writing Readable and Maintainable Code — Java

Dec 27, 2020

Use Memoization in React with React Memo and useCallback

Memoization is speed optimization technique in programing, where a given function, you return a cached version of the output if the same inputs are used. How re-render works in React ? When the Virtual DOM gets updated, React compares it to to a previous snapshot of the Virtual DOM and then only updates what has changed…

React

5 min read

Use Memoization in React with React Memo
Use Memoization in React with React Memo

Published in DevOps Dudes

·Dec 8, 2020

Secure NestJs Rest API with Keycloak

Step-by-step guide to secure Rest API build with NestJs using Keycloak. I am assuming you already have a JS frontend app or at least a HTTP client that perform the authentication against Keycloak and is in possession of a JWT and can pass in the header to your NestJS backend. …

Nestjs

9 min read

Secure NestJs Rest API with Keycloak
Secure NestJs Rest API with Keycloak

Published in DevOps Dudes

·Aug 1, 2020

Secure Frontend (React.js) and Backend (Node.js/Express Rest API) with Keycloak

Step-by-Step guide to secure application build with React front end and Node back end (Express Rest API) using Keycloak. Steps User trying to login to the front-end application (React.js). User will be redirected to the Keycloak server for authentication. If authentication successful, Authenticated user will be redirected to the application…

React

10 min read

Secure Front end (React.js) and Back end (Node.js/Express Rest API) with Keycloak
Secure Front end (React.js) and Back end (Node.js/Express Rest API) with Keycloak
Chamith Madusanka

Chamith Madusanka

Full Stack Enthusiast | Java | JavaScript | TypeScript | ReactJs | NodeJs | NestJs | https://www.linkedin.com/in/chamith24/

Following
  • Nick Hodges

    Nick Hodges

  • Alessandro Butler

    Alessandro Butler

  • Semi Koen

    Semi Koen

  • Daniele Polencic

    Daniele Polencic

  • Shanika Wickramasinghe

    Shanika Wickramasinghe

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable