How to Exchange a Shopify session token for an access token with GraphQL
Web Development

How to Exchange a Shopify session token for an access token with GraphQL

This article will show you how to exchange a Shopify session token for an access token with GraphQL. This is useful if you want to use the Shopify Admin API with a Shopify session token. This is a common use case when you are building a Shopify app. The Shopify Admin API requires an access token to make requests. However, when you authenticate a user with Shopify, you get a session token. This session token is not the same as an access token. You need to exchange the session token for an access token to make requests to the Shopify Admin API.

How to use absolute (alias) imports in Javascript
JavaScript

How to use absolute (alias) imports in Javascript

In this tutorial, you will Learn how to import javascript or typescript modules with absolute paths in webpack & VSCode. Absolute paths are a great way to import modules in your project. It makes the code cleaner and more readable. You can import modules from anywhere in your project without worrying about the relative path. You can also move files around without breaking the import paths.

How to implement Schema.org with Next.js Project
Web Development

How to implement Schema.org with Next.js Project

Search Engines like Google, Bing, Yahoo, etc. has their own algorithms to rank the web pages. They consider many factors like content, keywords, website speed, etc. to rank the web pages. You can optimize your website to rank higher in search engines by following some SEO techniques. they go through the content of the page and try to understand the context of the page. You can help them by providing explicit clues about the meaning of a page, by including schema structured data.

Build an error handler for Javascript Promises(async await)
JavaScript

Build an error handler for Javascript Promises(async await)

If you are a javascript developer, you may have used async and await, I know its simple to use and you love to. No more callbacks or .then() chain, just like synchronous javascript. but you may also have faced runtime errors/exceptions and you endup wrapping everything inside try.. catch... but that seems a lot of work. In this article, I will explain how you can add a custom function for your promise.

Build a Scalable Architecture for Next.js Project
Web Development

Build a Scalable Architecture for Next.js Project

While I was building my personal website (This Website), I read many articles about nextjs project setup and architecture that is scalable. while there are many options available out there, I choose the architecture for my website that is not very complex but scalable. I thought I should share this with other developer as well who are looking for a scalable architecture solution for their nextjs project. If you find this tutorial helpful, please share it with your friends and colleagues! Don't forget to follow me :-)

Vishal's Profile Picture

Vishal Garg

Fulltime Developer, Part-time Blogger and Entrepreneur. On a mission to help other developers by sharing my knowledge and experience.

Tags

Categories

Last Project

Reviews Importify

A fast loading and easy to use review app, helps you to import reviews from multiple sources like AliExpress, Amazon, Etsy, Walmart, and more...

View project