Stories by Ahmad Nurul Laiq on Medium

img of Astro Components

Golang Live Reload Set Up Tutorial to Make Life Easier

One tool that is becoming increasingly popular among Go developers is Air, a tool designed to ease the development process with its hot reload feature. In this article, we will discuss how to set up Golang Air to increase your productivity

05 July 2024

img of Astro Components

ESLint and Prettier Configuration in Express.js Project

ESLint helps us find and fix problems in our JavaScript code, while Prettier ensures that the code is formatted consistently. In this article, we will discuss how to configure ESLint and Prettier in your Express.js project.

02 July 2024

img of Astro Components

Implementation of ExpressJS API Testing Using Jest and Supertest

In this article, we will discuss how to implement testing on the ExpressJS API using Jest and Supertest.

21 June 2024

img of Astro Components

Express API Documentation Tutorial with Swagger UI and JSDoc

In this article, we will discuss how to document the Express API using two popular tools: Swagger UI and JSDoc. Both are very useful tools to ensure your API documentation is easy to read and use.

18 June 2024

img of Astro Components

ExpressJS Advanced #6 | One to Many Relationship

In this article, we will discuss how to implement a one-to-many relation between two models using ExpressJS and Sequelize. This relation allows one entity (model) to have many other entities associated with it.

26 April 2024

img of Astro Components

ExpressJS Advanced #4 | Search and Pagination Product

In web application development, search and pagination are common features, especially in product management. In this article, we will discuss how to add search and pagination to the product API using ExpressJS and Sequelize.

25 April 2024

img of Astro Components

ExpressJS Advanced #2 | Using Multer to Upload Files

In web application development, we often need to allow users to upload files, such as product images in e-commerce applications. In this article, we will discuss how to use multer to upload files and create an API endpoint to create new products with image files.

25 April 2024

img of Astro Components

ExpressJS Authentication #8 | Error Handling Middleware

In developing web applications with ExpressJS, error handling is an important part of handling unwanted conditions. In this guide, we will see how to implement Error Handling Middleware in ExpressJS.

23 April 2024

img of Astro Components

ExpressJS Authentication #7 | Save JWT to Cookies

When developing web applications with ExpressJS, we often need to store JWT tokens in cookies as an alternative way to store user authentication information. In this guide, we will see how to store JWT tokens in cookies using ExpressJS.

23 April 2024

img of Astro Components

ExpressJS Authentication #4 | User Login With JWT

In developing web applications with ExpressJS, an important step after user registration is to provide a secure login mechanism. In this guide, we will create a login endpoint using JWT (Json Web Token) for user authentication.

21 April 2024