Testing smart contracts in Ethereum requires testing for more than just the expected return values. It is important to verify that the events that should be emitted when the contract is invoked are also occurring as expected. In this article, we’ll explore how to listen and record local Ethereum events while testing with Hardhat to… read more
Following on from my previous article Setting up a Next JS app on Plesk control panel with git auto-deploy, this post will show you how to remove the node_modules folder from Plesk after you’ve deployed your site, freeing up room on your server. We’ll change the build process from Next.js and add a rewrite rule… read more
Progressive Web App’s (PWA) are an exciting method to create web-based apps that can be ‘installed’ on iOS and Android without going through their respective app stores and the hassle that goes with it. If you are creating an HTML5 game with Game Maker Studio, this blog will show you how to convert it to… read more
Plesk is a great multi-function control panel capable of hosting different types of apps on a VPS, and I hope they continue to build on and improve support for Node apps. This post shows how to deploy a Node based Next.js app to use with SSR or SSG, along with connecting to GIT for source-controlled… read more
How to use the Prisma ORM and Directus CMS together on an existing database, managing Prisma migrations.
Create a static site with Next.js by using Shopify as a headless CMS, and downloading the images to serve alongside your static CDN instead of linking to Shopify’s images.
Vite is a very quick opinionated build tool that provides a dev server and build command to bundle and optimise your exported code.