DEV Community

Hugo Di Francesco profile picture

Hugo Di Francesco

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

Education

MEng Mathematical Computation - University College London (UCL)

Work

Software Engineer at Eurostar

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

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

19
Comments 3
1 min read

Want to connect with Hugo Di Francesco?

Create an account to connect with Hugo Di Francesco. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Yarn Workspaces: monorepo management without Lerna for applications and coding examples

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

11
Comments
3 min read
Jest Full and Partial Mock/Spy of CommonJS and ES6 Module Imports

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

10
Comments
12 min read
Add Search to a Hugo site with Lunr.js and Node.js

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

8
Comments
4 min read
JavaScript Data Type Check Cheatsheet

JavaScript Data Type Check Cheatsheet

14
Comments
10 min read
Tailwind CSS 1.x impressions, development and production setup for static sites with Tailwind CLI and PurgeCSS CLI

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

10
Comments
5 min read
Jest exclude file/function/statement from test coverage

Jest exclude file/function/statement from test coverage

6
Comments
4 min read
How long is a new feature/page expected to take?

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

7
Comments 2
1 min read
Super-powered newsletter content with Pocket and Netlify Lambda

Super-powered newsletter content with Pocket and Netlify Lambda

7
Comments 1
4 min read
Avoiding recursion pitfalls: MongoDB nested query clause addition and removal

Avoiding recursion pitfalls: MongoDB nested query clause addition and removal

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

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

7
Comments
5 min read
Jest assert over single or specific argument/parameters with .toHaveBeenCalledWith and expect.anything()

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

6
Comments
4 min read
An enterprise-style Node.js REST API setup with Docker Compose, Express and Postgres

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

62
Comments 6
8 min read
Add days to a Date in vanilla JavaScript

Add days to a Date in vanilla JavaScript

11
Comments 3
1 min read
Auto-publish future posts with JAMstack on Netlify and CircleCI 2.0 scheduled jobs

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

7
Comments
4 min read
Enable CDN (Cloudflare) caching for your Netlify site

Enable CDN (Cloudflare) caching for your Netlify site

13
Comments
4 min read
Docker Compose Local HTTPS with nginx or Caddy

Docker Compose Local HTTPS with nginx or Caddy

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

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

11
Comments 3
6 min read
JavaScript Object.defineProperty for a function: create mock object instances in Jest or AVA

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

8
Comments
3 min read
Fix git “tip of your current branch is behind its remote counterpart” - 4 real-world solutions

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

7
Comments
5 min read
Pass cookies with axios or fetch requests

Pass cookies with axios or fetch requests

10
Comments 1
2 min read
Parse POST/PATCH/PUT request JSON body with Express and no dependencies

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

8
Comments
3 min read
A guide to Express request and response mocking/stubbing with Jest or sinon

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

19
Comments
15 min read
12-factor Node.js application configuration management without the `config` npm package

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

16
Comments 2
3 min read
The comprehensive guide to integrating a Python/Ruby/PHP/shell script with Node.js using child_process.spawn

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

6
Comments
8 min read
Async JavaScript: history, patterns and gotchas

Async JavaScript: history, patterns and gotchas

12
Comments
14 min read
Connect to MongoDB on Dokku with your local command line or Robo3T

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

5
Comments 3
4 min read
Sequelize Data Types: a practical guide

Sequelize Data Types: a practical guide

13
Comments
3 min read
Technical content workflow for “Code with Hugo”: static site, Paper, Medium, DEV and Buttondown

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

12
Comments 2
7 min read
Post Frequency: from prototype to production with Vue + Node

Post Frequency: from prototype to production with Vue + Node

9
Comments
7 min read
Add a Vanilla JavaScript paywall to a Hugo site using checkoutpage.co

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

13
Comments 1
10 min read
Add a client-side paywall using checkoutpage.co and vanilla JavaScript

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

9
Comments
10 min read
A simple JavaScript/Node coding setup on Mac OS X

A simple JavaScript/Node coding setup on Mac OS X

10
Comments
6 min read
Progress and roadblocks: a journey into open-source

Progress and roadblocks: a journey into open-source

12
Comments
6 min read
A tiny case study about migrating to Netlify when disaster strikes at GitHub, featuring Cloudflare

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

5
Comments 1
5 min read
GitHub-style contribution graph for your blog

GitHub-style contribution graph for your blog

17
Comments 7
1 min read
Simple, but not too simple: how using Zeit’s `micro` improves your Node applications

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

11
Comments 2
7 min read
6 months of Code with Hugo, in numbers

6 months of Code with Hugo, in numbers

11
Comments 3
5 min read
Use ES modules in Node without Babel/Webpack using `esm`

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

15
Comments
3 min read
ObservableHQ notebooks for JavaScript demos and prototypes

ObservableHQ notebooks for JavaScript demos and prototypes

31
Comments
5 min read
Deployment options: Netlify + Dokku on DigitalOcean vs now.sh, GitHub Pages, Heroku and AWS

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

77
Comments 4
5 min read
Impress interviewers with recursion in JavaScript with ES6 features

Impress interviewers with recursion in JavaScript with ES6 features

33
Comments
4 min read
Writing multiple Vue components in a single file

Writing multiple Vue components in a single file

18
Comments
4 min read
Unlock more dev.to features

Unlock more dev.to features

15
Comments 30
1 min read
Unit Testing Sequelize 4 ES6 class models

Unit Testing Sequelize 4 ES6 class models

16
Comments
2 min read
GitHub-style weekly contribution graphs

GitHub-style weekly contribution graphs

10
Comments 1
1 min read
Why you should wrap your (JavaScript) dependencies

Why you should wrap your (JavaScript) dependencies

9
Comments
2 min read
A gentle introduction to GraphQL API integrations

A gentle introduction to GraphQL API integrations

40
Comments
7 min read
JavaScript GraphQL client requests in Node and the browser using `graphql.js`

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

13
Comments
3 min read
Build and deploy a Vue/React/Vanilla JS app with Parcel and GitHub pages

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

15
Comments
3 min read
Change the date of a git commit

Change the date of a git commit

20
Comments 1
1 min read
The step-by-step guide to create a domain redirect with Cloudflare

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

10
Comments
1 min read
Python GraphQL client requests example using gql

Python GraphQL client requests example using gql

8
Comments
1 min read
Switching the lights on: Hugo vs Hugo config files

Switching the lights on: Hugo vs Hugo config files

14
Comments 5
8 min read
Abusing Jest snapshot tests: some nice use-cases 📸

Abusing Jest snapshot tests: some nice use-cases 📸

22
Comments 1
5 min read
Do we still need turbolinks/PJAX?

Do we still need turbolinks/PJAX?

8
Comments 3
1 min read
Deploy to multiple environments with git and CircleCI

Deploy to multiple environments with git and CircleCI

39
Comments 1
5 min read
Just enough bash to be dangerous

Just enough bash to be dangerous

142
Comments 5
3 min read
Install just redis-cli on Ubuntu, Debian, Jessie

Install just redis-cli on Ubuntu, Debian, Jessie

18
Comments
2 min read
Bring Redux to your queue logic: an Express setup with ES6 and bull queue

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

22
Comments 2
10 min read
loading...