Create Laravel Composer Package From Scratch and Publish on Packagist

Create Laravel Composer Package From Scratch and Publish on Packagist

In this post, I’m going to explain how you can create Laravel package locally and publish to Packagist. In this post, I will create a package to convert Hindu Arabic(Nepali) number to English and English number to Hindu Arabic (Nepali). Creating Laravel package is not that hard. In few simple steps you can create your own package. I will go through few steps: Step #1 : Install Laravel I choose Laravel 9 because Laravel 9 is the latest version of Laravel....

December 4, 2022 · 8 min · 1696 words · Prakash Bhandari
How to Publish Your Own Public NPM Package

How to Publish Your Own Public NPM Package?

Publishing your own public NPM package is not that hard. All you need is basic understanding of Javascript, NPM, package.json file and Account in https://www.npmjs.com In this post, I will try to explain the steps to create and publish your own public NPM package to https://www.npmjs.com. To demonstrate, I will create real NPM package which will convert English number to Nepali Number and Nepali number to English Number. Finally, this package will be publish to https://www....

December 1, 2022 · 8 min · 1624 words · Prakash Bhandari
Branching Strategy for Big Feature

Branching Strategy for Big Feature

In a single repository, many developers are developing new features or fixing bugs. Some features are small and some of them are big. Small features can be developed, reviewed, and released quickly. But, big features can not be completed quickly and also it’s not a good idea to create a really big pull request (PR). It’s a crazy idea to push the Work In Progress(WIP) feature to the main branch and it may probably get deployed to production....

November 29, 2022 · 3 min · 631 words · Prakash Bhandari
Mock AWS Services in Local Development Environment with LocalStack and NodeJS

Mock AWS Services in Local Development Environment with LocalStack and NodeJS

I was developing and deploying the applications to dedicated servers, on-premises and shared servers. In 2017, I got an opportunity to work with AWS for one of the retail online ecommerce web application. Since then primarily, I have been developing AWS based applications. In my career, I have used many AWS services. Primarily, Route 53, EC2 instances, RDS, SQS, SNS, S3 buckets and so on. Developing and testing applications in the real AWS account is sometimes time-consuming, costly and has dependency on the internet....

November 19, 2022 · 9 min · 1848 words · Prakash Bhandari
Javascript Unit Test With Jest

Javascript Unit Test With Jest

In this tutorial, I will demonstrate how to write a basic unit test to calculate the area of geometric shapes like circle and rectangle by using the JavaScript Testing Framework called Jest. ...

November 12, 2022 · 4 min · 672 words · Prakash Bhandari
Software Engineering

Changes I have seen in the software engineering space

In this article I will share the changes that I have seen and experienced in the software engineering space as a Software Engineer. I started my career as a front-end developer in late 2010. At that time I was converting PSD files to HTML pages. It took time to learn the basics of photoshop, HTML and CSS. But, slowly I became a professional frontend developer. Not actually a frontend developer was called HTML/CSS developer. ...

November 11, 2022 · 6 min · 1112 words · Prakash Bhandari
Execution Order of SELECT SQL Query

Execution Order of SELECT SQL Query

This article is not an unique article. You can find numbers of article related with the SQL query execution order. But, I will try to make easy to read and simple to understand. SELECT query is used by many people like Data Engineer, Backend Developer, Fullstack Developer, DBA, and the list goes on. As we know that the SELECT query is used to select data from a database tables. So, the question is what is the order of execution when we execute the SELECT query? ...

October 11, 2022 · 2 min · 286 words · Prakash Bhandari
API Design Best Practices

API Design Best Practices

I had done presentation within the API development team in my work place on "{API} Design Best Practices" that is consumed by the clients (web app, device app and other third party API consumer). The main purpose of this presentation was to bring ease and smoothness in API development and implementation. I have shared the slide in slideshare.net. ...

August 24, 2021 · 1 min · 62 words · Prakash Bhandari
Code Review in Software Development Process

Code Review in Software Development Process

In the Software Development process, code review is one of the major processes. It plays a vital role in developing quality software and reducing human errors. This article highlights the significance of code review and tries to answer ...

September 8, 2020 · 6 min · 1207 words · Prakash Bhandari
How to Copy S3 Bucket Objects From One AWS Account to Another Account

How to Copy S3 Bucket Objects From One AWS Account to Another Account

I had to transfer the S3 bucket objects form one AWS account (Source account) to another AWS account (Destination Account) within the same region. But, transferring the objects form one AWS account to another is not straight forward. According to AWS documentation its transfer the ownership of S3 objects from one account to another AWS account rather than transferring the objects itself. To transfer this ownership we have to go through multiple steps....

September 23, 2019 · 4 min · 738 words · Prakash Bhandari