23 posts for "javascript"
Processing third party form data in Next.js using Webhooks
April 20, 2022How to receive JSON formatted multipart form data in a Next.js serverless function from a form service webhook, such as Jotform.
The 'too many connections for role' error with Postgres on serverless
April 06, 2022Why the 'too many connections' error happens with Postgres on a Node.js serverless function like Vercel, how to stop it so you app runs smoothly, and an attempt at connection pooling
Developing a turn based real-time battle game with Next.js and WebSockets
March 31, 2022Overview of a JavaScript Pokemon battle system re-make from the 90's Game Boy classic, some of the challenges faced during development, and how they were... tackled.
Resizing and uploading images to object storage with Sharp and Backblaze
February 27, 2022Writing a script to pull images from an external URL, resize each image, and upload to object storage, all done with Node.js.
Installing websites as apps on mobile and desktop devices
January 22, 2022Using Progressive Web App technology to allow users to install websites on their devices using service workers and manifest files while providing offline support.
Making screenshots for social sharing with Puppeteer & Node
December 28, 2021How to create dynamic screenshots of a page for use when sharing on social media with Open Graph images.
Image performance in components with Cloudinary
November 21, 2021Cloudinary makes it easy to get images in any shape or size, but this method leverages React components to make development easier, quicker, and performant.
Sharing cookies with JWTs across different domains and ports
August 30, 2021When using Fetch, cookies are not shared between sites with different origins, including domains, subdomains, and even ports. Here's why, and the solution.
Developing my second mobile app - Cinepicks
July 26, 2021An overview of Cinepicks, including features, technical aspects like frameworks and server setup, we all as challenges tackled on the way.
Dates and times with vanilla Javascript - the easy way
May 14, 2021Working with dates and times in Javascript can be a pain, but this cheat sheet will help with everything from the basics to working out time and date differences and formatting.
Adding a timeout to API requests with fetch
April 28, 2021Stop users waiting around for long requests by extending the fetch API, giving you control over wait times with a timeout.
Long running, asynchronous server side processes in Node.js
September 13, 2020A journey of cutting down processing time for an asynchronous process on user uploaded data in Node.js, with database queries.
Javascript fundamentals - Object prototypes and inheritance
September 30, 2019A dive in to the nuances of Javascript prototypes, inheritance and composition with helpful examples and references to official documentation.
Sending requests after JWT refresh using Redux middleware
October 04, 2018A middleware solution for refreshing JSON Web Tokens using Redux, and sending the original failed request to the server once refresh has been successful.
Learning vanilla Javascript and it's frameworks - keeping up with fast-moving web development
March 17, 2018Keeping up to date with Javascript can be tough. Here are some tips on when, what and how to keep up with vanilla Javascript and it's frameworks.
Integrating Apollo GraphQL Client into a Redux application for local state - Part 3
March 04, 2018Introducing Apollo Client to an existing React Redux application, what that means with Redux dropped from Apollo, including local state management.
Integrating Apollo GraphQL into a Node server with JSON Web Tokens - Part 2
February 19, 2018Setting up Apollo's GraphQL server implementation, integrating with an existing Node architecture, and protecting the endpoint with JSON web tokens.
JSON Web Token authentication with Preact and Redux - Part 1
February 01, 2018Developing my Preact, Redux and Apollo GraphQL boilerplate with JSON Web Token authentication. A three-part post on client and server-side implementation.
My Whiskr web app is finished and here's how it's built
January 10, 2018My latest side-project is ready for launch - Whiskr. Here's my thought process throughout the dev process and what technologies and techniques I used.
Functional Programming and what it realistically means for Javascript developers
January 06, 2018Functional programming has taken a front seat in the Javascript world during the last few years, but why? And how does this compare?
A lesson learned with Heroku, Node, Babel and Javascript ES6
November 14, 2017A hard lesson learned with one long evening of ES6 Node, Babel being pushed to a Heroku server.
Asynchronous Javascript using Promises, Async Await, and Observables with real life examples - Part 1
September 28, 2017A comparison of some of the most useful features of Asynchronous Javascript development using Promises and Async Await.
4 useful features of ES6, ES7 and beyond
April 15, 2017Some great features of modern Javascript which aren't mentioned in most blogs - Includes, Fetch, Multi-line strings, and Async/await.