Bulk URL redirecting that resembles the .htaccess method used for Apache.
Continue reading “Redirect URL With GatsbyJS and Netlify”Dynamic routing, navigation and page title with Vue
How to create a reusable header component, containing a dynamic page title and sub-menu.
Continue reading “Dynamic routing, navigation and page title with Vue”CORS: Cross Origin Resource Sharing in Node.js
When attempting to access an API backend you will receive a CORS error if the appropriate headers aren’t configured on the http responses.
Continue reading “CORS: Cross Origin Resource Sharing in Node.js”Using Axios in Vue to consume a JSON API from a URL
This article provides a quick and easy approach for consuming API data in Vue using Axios.
Continue reading “Using Axios in Vue to consume a JSON API from a URL”Connect to MongoDB using Mongoose with Node.JS
I’ll show the method I use to connect to a mongo database, served local or from the cloud.
Continue reading “Connect to MongoDB using Mongoose with Node.JS”How to run scripts with PugJS
There are two main methods I use to run scripts from a PugJS template, a front-end method and a back-end method.
Continue reading “How to run scripts with PugJS”Simple and dynamic breadcrumbs for a NodeJS & Express application
I required the breadcrumbs to be centrally implemented to achieve minimal code repetition. This is why I decided to automatically generate and add them to each page requests dynamically.
Continue reading “Simple and dynamic breadcrumbs for a NodeJS & Express application”