js

image post

How to send a pushengage notification with node-fetch

Send push notifications using pushengage.com through Node.js and node-fetch module
Andrés Canavesi - Jan 14, 2022
Sending push notifications from pushengage.com dashboard is pretty easy but what about f we want to automate some process in our web site?

image post

jsonplaceholder - free and unlimited json API placeholder

Mock backend data with a free and unlimited json API
Andrés Canavesi - Jan 05, 2022
Frandom is a JSON Placeholder fake REST API that is mainly used for prototyping and testing.

image post

What is Node.js and what is the Event Loop

Node.js is a JavaScript runtime environment to run server-side web applications
Andrés Canavesi - Dec 03, 2021
Node.js provides simplicity in development because of its non-blocking I/O and even-based model results in short response time and concurrent processing, unlike other frameworks where developers have to use thread management.

image post

flexsearch tutorial

We are going to build a small example to see how it works.
Andrés Canavesi - Nov 10, 2021
It's a module available through npm or yarn to index in-memory data. With this module, you will be able to search or display related data on your site. We are going to build a small example to see how it works.

image post

Load dynamic data into a table using Lightning Web Component

Create a custom tab to display a Lightning Web Component
Andrés Canavesi - Nov 04, 2021

image post

Frandom API placeholder

Mock your backend using a placeholder API that returns random data
Andrés Canavesi - Oct 29, 2021
A simple API to generate random data such as companies and persons. It is open to the public. No API key required. No registration required.

image post

jsxBracketSameLine - Prettier how to configure

bracketSameLine is the new version of jsxBracketSameLine
Andrés Canavesi - Oct 29, 2021
Pro tip: instead of running by hand, you can integrate it with you favorite IDE

image post

How to configure and use testcontainer in Node.js

testcontainer as a Node.js module to create dynamic containers
Andrés Canavesi - Oct 13, 2021

image post

How to connect to a MySQL database in Node.js

Andrés Canavesi - Oct 12, 2021
To connect to a MySQL database in Node.js is pretty straightforward with the module mysql2.

image post

Node.js Express Mysql stack deployed on Heroku

How to build a rest API from zero using Node.js, Express and MySQL
Andrés Canavesi - Oct 09, 2021
Let's build a Rest API from scratch that uses a MySQL database. We are going to use Node.js and Express as a framework to generate some scaffolding for our Rest API

image post

Node.js and typescript project template

Andrés Canavesi - Oct 08, 2021
A project template with typescript, jest and linter among others configurations

image post

jsonplaceholder: a free fake API for testing and prototyping

JSONPlaceholder is a free online REST API that you can use whenever you need some fake data.
Andrés Canavesi - Sep 13, 2021

image post

Prettier config

Prettier is a code formatter that supports many languages and can be integrated with most of the editors.
Andrés Canavesi - Sep 09, 2021
With Prettier you will be able to define your own rules, however default rules are enough at the beginning.

image post

Sitemap xml creation

A sitemap is very important if you want to search engines discover and index your site properly.
Andrés Canavesi - Sep 09, 2021
No matter the language you are using in your site, this is the right way to create a sitemap.

image post

Salesforce rest api download ContentVersion

Download a Salesforce file (ContentVersion) through the API using Node.js with jsforce package
Andrés Canavesi - Sep 09, 2021

image post

flexsearch example

A super simple example to show how to index a collection of data and then run a full-text search
Andrés Canavesi - Sep 09, 2021
flexsearch It's an awesome package to index in-memory data


image post

How to make Load and Smoke testing with Artillery

Artillery is a CLI tool installed easily through npm
Andrés Canavesi - May 20, 2021
Artillery is a modern load testing and smoke testing solution designed for cross-functional teams that run microservice-based systems on AWS and rely on CI/CD to ship at high velocity

image post

Download and save a file in Node.js

Get a file from a server and store it in your disk
Andrés Canavesi - May 13, 2021
Download a file in Node.js is pretty straightforward. We are going to make an implementation using native modules. No third parties.

image post

How to trigger a Lambda with a SQS message

AWS SAM template to execute a Lambda Function by writing a message in a SQS queue. Cloudformation world
Andrés Canavesi - May 12, 2021
Let's create a SAM template to declare a Lambda function to be triggered from an SQS message