just a cute illustration

I have been working for many projects and for backend tech i was used PHP for almost 10 years, and this last 3 years I also trying Node JS as one of my backend stack. And now i want to focus using Golang since Golang have a good track record and many startups are using this as their backend stack.

To help me going deeper in Golang, i decided to bought a Golang course and luckily my mentor is an engineer in one of unicorn in Indonesia. Personally, first time when i created a simple project using Golang i felt…

JWT logo

This is the last part of our journey to build simple microservice. Now we will give an authentication module to make our APIs secure.

What is JSON Web Token?

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.

When should you use JSON Web Tokens?

Here are some scenarios where JSON Web Tokens are useful:

  • Authorization: This is the most common scenario…

illustration for api gateway

This article is about how to build a API Gateway for our microservice. Previously we already build a Property Service and User Service, so you can follow from beginning.

An API gateway takes all API calls from clients, then routes them to the appropriate microservice with request routing, composition, and protocol translation. Typically it handles a request by invoking multiple microservices and aggregating the results, to determine the best path. It can translate between web protocols and web‑unfriendly protocols that are used internally.
In this article, our API gateway act is be a gateway from client to access our services. And…

Express Nodejs

In this article we are gonna build Nodejs project for API and next we will integrate services with a gateway, so that is microservice.

This project we will build user service that focus for user management such as login, register and detail user. Steps to build user service are:
- Create Express project
- Install Sequelize
- Create migration
- Create seeder with fake data
- Modify Config
- Modify model
- Create API
- Register to routes
- Run in Postman

Create Express Project

For create a project, you need install Nodejs and Express in your PC. …

Lumen micro-framework by Laravel

Hi guys, in this article we will build a simple project with Lumen to integrate with microservice. If you don’t know what Microservice is, you can read my article before.

Okay, let’s start with create a new project called property-api. After instalation finished, we next step is set up database stuff such as migrations, factory, seeders and models.

Migration, Factory and Seeder

Create a new migration file to create residences table.

Residence Migration

Second migration file to create houses table.

House Migration

After you finish with your migration file, you can migrate with php artisan migrate command. Next continue to create factory file. …

Photo by Kaleidico on Unsplash

Have you ever feel your application is hard to maintain? or hard to scale up? if so i suggest you to know what microservice is.

Based on microservice.io, microservice is an architectural style that structures an application as a collection of services that are:
- Highly maintainable and testable
- Loosely coupled
- Independently deployable
- Organized around business capabilities
- Owned by a small team

I can say microservice is a way to split up our modules into services that can scale up based on their focus. In example User Modules, when we migrate into microservice we need to…

Photo by Clément H on Unsplash

After take a look at Svelte documentation i was found a brilliant way to using a promise. In this story i’m not talking about comparing performance, i just wanna talk about developer experience.

Developer Experience (DX) is the equivalent to User Experience (UX) when the user of the software or system is a developer.

Let’s say everyone was understand about promises in Javascript. I really shock about implementation of promise in Svelte is very easy! Here is how i create a promise on React. …

Photo by Austin Distel on Unsplash

Hi folks, in this story i just want to share my result after doing some experiments to using Laravel Socialite with several conditions. Basically we know authentication is a gate for our application to access some authorized feature inside. The manual authentication flow is we need email/username and password as credential, But time by time the flow was changes. Mostly we are using social media as part of our authentication module which we can get credential from them. Laravel Socialite come to be solution for this part and makes authentication with social media easier.

In addition to typical, form based…

Nuxt.js Logo
Nuxt.js Logo
Nuxt js Logo

Hi teman-teman, kali ini aku mau nyoba sharing pandanganku tentang Nuxt.js yang cukup besar namanya dikalangan web developer khususnya Front End Engineer.

Apa sih Nuxt.js itu?

Photo by Andrew Neel on Unsplash

Remote Working adalah sesuatu yang tak asing diucapkan dikalangan orang-orang IT, entah dia programmer, devops, maupun designer. Remote Working adalah suatu kegiatan dimana orang-orang bekerja diluar kantor, namun komunikasi tetap berlangsung secara baik. Remote Working dapat dilakukan dimana saja, di rumah, coworking space, coffee shop, maupun di kereta atau pesawat.

Mungkin kita akan bertanya, kenapa sih ada Remote Working? Apa enak nya?

Beberapa keuntungan melakukan remote working menurut Remote Year adalah:

  • Flexible Lifestyle, Keuntungan ini akan sangat dirasakan bagi orang yang sudah memiliki anak, dimana Flexible Lifestyle membuat kita dapat mengatur jam kerja dan waktu untuk bersama keluarga dan juga…

Taufan Fadhilah Iskandar

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