Hello Developers 👋. In this article, I will demonstrate how easily we can deploy the Next.js Application on Google App Engine within minutes.
Visit my other article if you want to deploy your Next.js Application on Firebase Platform using Cloud Function with Firebase Hosting.
Let’s prepare a simple Next.js application to deploy on the google app Engine.
Hello Developers 👋. Analytics has been a very essential tool for us. It helps us to get a deeper understanding of our customers. But it was not very straightforward to be used with the Nextjs Application when I tried it. So In this article, I will demonstrate how easily Analytics can be integrated with the Nextjs Application.
Let’s start by setting the Firebase project by going to the firebase console.
Hello Developers 👋. In this article, I will demonstrate how we can make use of UUID and Binary(16) datatype in gorm v2 and golang.
What is UUID?
A UUID is just a 128-bit value and it is usually represented in human-readable format as an UTF8 string composed of 5 groups of hexadecimal charac ters separated by dashes.
For more details visit here
Looking at the both pros and cons of UUID, we will work with UUID programmatically in our golang and gorm implementation but we will save it as a binary(16) in the database for better compactness. …
Hello Developers 👋. Today I will try to demonstrate how the social media preview works and how I implemented on my recent next.js project. Before going any further on implementation, let's create a simple next.js project.
I will name the project as
Before going for the implementation let's first talk about the need for docker briefly.
Deploying static websites like React Applications on the Firebase Platform is very straightforward. But that was not the case with Next.js Projects. This is because Next.js Application requires a server to handle server rendering. So deploying just static HTML is not sufficient. Here in this article, I will demonstrate the deployment of a Next.js project to the firebase platform using cloud Function and Firebase Hosting.
Visit my other article if you want to deploy your Next.js Application on Google App Engine.
Let's prepare a simple Next.js application to deploy on the Firebase.
yarn create next-app
Here I use
yarn to bootstrap a Next.js …
React-JSS | Next.js | SSR JSS Implementation
React-JSS is my personal favorite and go-to library for implementing CSS on my React Projects. It is very straightforward to implement it in any React Projects. But that was not the case on Next.js Project. Implementing React-JSS on the Next.js project was not that straightforward and it required some manual work for successful implementation. So In this article, I want to share my experience and the way I implemented it successfully.
In this article, we will implement full Authentication Flow in React using AWS Amplify. There are multiple resources online including official docs but they all lack some bits or have some open issues. I went through some difficult times including reading the package source code to understand some logic while implementing it in my project. So I want to share my experience and some hacks I had to use to implement it successfully.
There are two Amplify UI Components packages available for React.
We will be using the latest package for this article. …
In this article, we will look at some of the concurrency features of Golang. We will build a simple website status checker application to demonstrate those features. We will start with zero concurrency and eventually add concurrency using the features of Golang and benchmark them.
We will be building a simple website status checker application. In this application, we will have a collection (slice) of
websites and we will be running a loop on this given slice of websites. In each iteration, we will be calling
getWebsite function to perform a
get request on that given website.
In this first example, we will start to build this simple application in a synchronous manner with zero concurrency. …
In this third article of multi-part series on building mini e-commerce using the GIN framework and GORM, we’ll start creating handlers, routes, and middlewares. We will also be covering on hashing passwords and protecting routes using middleware.
First, we start by creating an interface
UserHandler that includes all the methods that are available related to our
user model. Then we create a struct
userHandler that uses
userRepository that we created in our previous article. We also need to create a function
NewUserHandler which will return a struct for lower-level consumers(In our case
Here I have shown implementation of only one method
SignInUser listed in the interface( I will provide a GitHub link at the end of this article which contains the full code of this project). …