Skip to main content

3 docs tagged with "javascript"

View all tags

Dockerizing a Node.js web app

The goal of this example is to show you how to get a Node.js application into a Docker container. The guide is intended for development, and not for a production deployment. The guide also assumes you have a working Docker installation and a basic understanding of how a Node.js application is structured.

Twitter-bot

To get notified when your Twitter account has a new follower using the Twitter API v2 and a Node.js server, you can set up a webhook to receive events. This process involves creating a web server to listen for incoming webhook events and subscribing to the "follow" event in the Twitter API v2. Here's a step-by-step guide to achieve this: