A chrome extension that will enable writers to export their Medium articles to the Dev Community with just three clicks.

Photo by Author

If you are a writer and publish your articles regularly on Medium and Dev Community, you must already know that both the platforms have different formatting syntax for writing articles. While Dev Community uses markdown which is a standard format and very popular in the open-source community, Medium has its own format for styling your articles.

Di

If you want to publish the same article on both the platforms, the only way to do it is to write the article…


We will build a Vue.js client to login using Github/Google with Firebase and build a stateless backend using spring boot

Photo by on

No one likes to use passwords to login for individual sites these days. Social Login using Github, Google, Facebook are the most preferred ways to build modern apps.

Implementing them is a bit tricky, as you will come across a lot of concepts and jargons, like

  1. OAuth 2.0
  2. Open ID connect
  3. Delegated Authorization
  4. Id token
  5. Refresh token

The goal is simple, have a front end client like Vue.js and stateless backend using JWT in Spring Boot and users can login…


Run Linux Kernel inside Windows without third-party softwares like VMWare, Virtual Box etc by Windows Subsytem for Linux

Image by Author

There is a very popular notion that Linux is the best OS for software development but Windows is more easy and comfortable to use. That must have made many of you to wonder if there were some way to run Linux Kernel below Windows GUI. If we could achieve this, we would get BEST of Windows and Linux in a single OS.

Turns out that there is one way to do this — WSL (Windows Subsytem for Linux)

Get Best of Windows…


In this tutorial, we will learn how to create an order and display the order history of the user

Introduction

We are building an e-commerce app from scratch using Vue.js in the frontend and Java with Spring boot for the backend. You can check out the first front-end tutorial of this series here.

Placing the order is an important feature for an e-commerce app that allows users to order the products of their choice.

We will first develop the backend API using Spring Boot and in the next tutorial, we will use this API for the frontend part of our e-commerce…


Problem 102. Binary Tree Level Order Traversal

In this series, I am going to solve Leetcode medium problems live with my friends, which you can see on our youtube channel, Today we will do Problem Leetcode: 102. Binary Tree Level Order Traversal.

A little bit about me, I have offers from Uber India and Amazon India in the past, and I am currently working for Booking.com in Amsterdam.

Motivation to learn algorithms

Problem Statement

Given the root of a , return the level order traversal of its nodes’ values. (i.e., from left to right, level by level).

Example 1:


Solve Leetcode Problems and Get Offers From Your Dream Companies

In this series, I am going to solve Leetcode medium problems live with my friends, which you can see on our youtube channel. Today we will do Problem Leetcode: 64. Minimum Path Sum

A little bit about me, I have offers from Uber India and Amazon India in the past, and I am currently working for Booking.com in Amsterdam.

Motivation to learn algorithms

Problem Statement

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path.

Note: You can only move either down or right at any point…


In this tutorial, we will learn how to integrate payment gateway in VueJs using Stripe in our demo e-commerce app

Introduction

We are building an e-commerce app from scratch using Vue.js in the frontend and Java with Springboot for the backend. You can check out the first front-end tutorial of this series here.

A payment gateway is an important feature for an e-commerce app. In the previous tutorial, we integrated a payment gateway using Spring Boot and Stripe. Now we will build the front-end part of it like accepting the cart items and card details.

If you want to refer to…


Part 2: Integrate database and implement Signup, Login features

Photo by on

In part 1, we implemented the basic JWT auth without real database, by hardcoding user

In this tutorial, we will extend the JWT auth by integrating with real users in the and implementing signup, login functionality using BCryptPasswordEncoder for hashing password.

Step 1 : Create the User Model

create Jwtuser model and reimplement the UserDetailsService interface of spring security.

Step 2: Reimplement the UserDetailsService Interface of Spring Security

Reimplement the UserDetailsService and override the loadUserByUsername method which we previously hardcoded.

Step 3: Update the SecurityConfigurer

We change the passwordencoder method in SecurityConfigurer

Nil Madhab

Developer @Booking.com | ex: Samsung, OYO | IIT Kharagpur | Entrepreneur, founder of | connect me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store