Development

How To Set Up a Gatsby Project with TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Set Up a Gatsby Project with TypeScript

TypeScript is a superset of JavaScript that adds optional static typing at build time, which cuts down on debugging runtime errors. It’s static-typing abilities go well with a static-site generator like Gatsby, and Gatsby has built-in support for coding in TypeScript. In this tutorial, you’re going to use Gatsby’s built-in capabilities to configure a Gatsby project for TypeScript.

Read more
How to Add Extra Information to Errors in Go — step-by-step Programming tutorial on Progressive Robot

How to Add Extra Information to Errors in Go

In Go 1.13, new features were added to make it easier to add extra information to errors: fmt.Errorf, errors.Is, and errors.As. In this tutorial, you’ll create a program that uses these functions to include additional information in errors returned from your functions, and then create your own custom error struct that supports the wrapping and unwrapping functionality.

Read more
Placing, Spanning, and Density in CSS Grid — step-by-step DevOps tutorial on Progressive Robot

Placing, Spanning, and Density in CSS Grid

The most common thing you learn in CSS Grid is usually related to the grid container and rather than the grid items. A generic grid definition applied to the grid container is enough for a basic layout structure. However, when you need more control over the contents of the grid, the grid container is limited its uses. Each grid item’s size is predefined and you need to find a way to size them relatively to other items in the grid container.

Read more
How To Build a GraphQL API with Prisma and Deploy to the cloud provider's App Platform — step-by-step DevOps tutorial on Progressive Robot

How To Build a GraphQL API with Prisma and Deploy to the cloud provider’s App Platform

In this tutorial, you’ll build a GraphQL API for a blogging application in JavaScript using Node.js. You will first use Apollo Server to build the GraphQL API backed by in-memory data structures. You will then deploy the API to the an app platform. Finally you will use Prisma to replace the in-memory storage and persist the data in a PostgreSQL database and deploy the application again.

Read more
Cómo manejar panics en Go — step-by-step Programming tutorial on Progressive Robot

Cómo manejar panics en Go

Los errores que un programa encuentra se dividen en dos categorías generales: los que el programador anticipa y los que no anticipa. La interfaz error que abarcamos en nuestros dos artículos anteriores sobre el [manejo de…

Read more
CHAT