loading...
Hugo Di Francesco profile picture

Hugo Di Francesco

Developer, JavaScript, CSS and web. Writing at Code with Hugo.

Location London Joined Joined on  Twitter logo GitHub logo External link icon
Education

MEng Mathematical Computation - University College London (UCL)

Work

Software Engineer at Eurostar

Celebrating the publication of "Professional JavaScript" with the Dev.to family

Reactions 19 Comments 3
1 min read

Yarn Workspaces: monorepo management without Lerna for applications and coding examples

Reactions 11
3 min read

Jest Full and Partial Mock/Spy of CommonJS and ES6 Module Imports

Reactions 9
12 min read

Add Search to a Hugo site with Lunr.js and Node.js

Reactions 8
4 min read

JavaScript Data Type Check Cheatsheet

Reactions 12
10 min read

Tailwind CSS 1.x impressions, development and production setup for static sites with Tailwind CLI and PurgeCSS CLI

Reactions 10
5 min read

Jest exclude file/function/statement from test coverage

Reactions 6
4 min read

How long is a new feature/page expected to take?

Reactions 7 Comments 2
1 min read

Super-powered newsletter content with Pocket and Netlify Lambda

Reactions 7 Comments 1
4 min read

Avoiding recursion pitfalls: MongoDB nested query clause addition and removal

Reactions 6
6 min read

Read and parse POST/PATCH/PUT request JSON or form body with Express and no dependencies

Reactions 7
5 min read

Jest assert over single or specific argument/parameters with .toHaveBeenCalledWith and expect.anything()

Reactions 6
4 min read

An enterprise-style Node.js REST API setup with Docker Compose, Express and Postgres

Reactions 62 Comments 6
8 min read

Add days to a Date in vanilla JavaScript

Reactions 8 Comments 3
1 min read

Auto-publish future posts with JAMstack on Netlify and CircleCI 2.0 scheduled jobs

Reactions 7
4 min read

Enable CDN (Cloudflare) caching for your Netlify site

Reactions 13
4 min read

Docker Compose Local HTTPS with nginx or Caddy

Reactions 18
11 min read

Deployment options: Netlify + Dokku on DigitalOcean or Hetzner Cloud vs now.sh, GitHub Pages, Heroku and AWS

Reactions 10 Comments 3
6 min read

JavaScript Object.defineProperty for a function: create mock object instances in Jest or AVA

Reactions 8
3 min read

Fix git “tip of your current branch is behind its remote counterpart” - 4 real-world solutions

Reactions 7
5 min read

Pass cookies with axios or fetch requests

Reactions 10 Comments 1
2 min read

Parse POST/PATCH/PUT request JSON body with Express and no dependencies

Reactions 8
3 min read

A guide to Express request and response mocking/stubbing with Jest or sinon

Reactions 17
15 min read

12-factor Node.js application configuration management without the `config` npm package

Reactions 13 Comments 2
3 min read

The comprehensive guide to integrating a Python/Ruby/PHP/shell script with Node.js using child_process.spawn

Reactions 6
8 min read

Async JavaScript: history, patterns and gotchas

Reactions 11
14 min read

Connect to MongoDB on Dokku with your local command line or Robo3T

Reactions 5 Comments 3
4 min read

Sequelize Data Types: a practical guide

Reactions 12
3 min read

Technical content workflow for “Code with Hugo”: static site, Paper, Medium, DEV and Buttondown

Reactions 9 Comments 2
7 min read

Post Frequency: from prototype to production with Vue + Node

Reactions 9
7 min read

Add a Vanilla JavaScript paywall to a Hugo site using checkoutpage.co

Reactions 11 Comments 1
10 min read

Add a client-side paywall using checkoutpage.co and vanilla JavaScript

Reactions 9
10 min read

A simple JavaScript/Node coding setup on Mac OS X

Reactions 10
6 min read

Progress and roadblocks: a journey into open-source

Reactions 12
6 min read

A tiny case study about migrating to Netlify when disaster strikes at GitHub, featuring Cloudflare

Reactions 5 Comments 1
5 min read

GitHub-style contribution graph for your blog

Reactions 17 Comments 7
1 min read

Simple, but not too simple: how using Zeit’s `micro` improves your Node applications

Reactions 11 Comments 2
7 min read

6 months of Code with Hugo, in numbers

Reactions 11 Comments 3
5 min read

Use ES modules in Node without Babel/Webpack using `esm`

Reactions 15
3 min read

ObservableHQ notebooks for JavaScript demos and prototypes

Reactions 39
5 min read

Deployment options: Netlify + Dokku on DigitalOcean vs now.sh, GitHub Pages, Heroku and AWS

Reactions 75 Comments 3
5 min read

Impress interviewers with recursion in JavaScript with ES6 features

Reactions 31
4 min read

Writing multiple Vue components in a single file

Reactions 18
4 min read

Unlock more dev.to features

Reactions 15 Comments 29
1 min read

Unit Testing Sequelize 4 ES6 class models

Reactions 14
2 min read

GitHub-style weekly contribution graphs

Reactions 10 Comments 1
1 min read

Why you should wrap your (JavaScript) dependencies

Reactions 9
2 min read

A gentle introduction to GraphQL API integrations

Reactions 40
7 min read

JavaScript GraphQL client requests in Node and the browser using `graphql.js`

Reactions 13
3 min read

Build and deploy a Vue/React/Vanilla JS app with Parcel and GitHub pages

Reactions 15
3 min read

Change the date of a git commit

Reactions 20 Comments 1
1 min read

The step-by-step guide to create a domain redirect with Cloudflare

Reactions 10
1 min read

Python GraphQL client requests example using gql

Reactions 8
1 min read

Switching the lights on: Hugo vs Hugo config files

Reactions 14 Comments 5
8 min read

Abusing Jest snapshot tests: some nice use-cases 📸

Reactions 21 Comments 1
5 min read

Do we still need turbolinks/PJAX?

Reactions 8 Comments 3
1 min read

Deploy to multiple environments with git and CircleCI

Reactions 39 Comments 1
5 min read

Just enough bash to be dangerous

Reactions 139 Comments 5
3 min read

Install just redis-cli on Ubuntu, Debian, Jessie

Reactions 18
2 min read

Bring Redux to your queue logic: an Express setup with ES6 and bull queue

Reactions 19 Comments 2
10 min read
loading...