posts found in this keyword

    nodejs

    Hello World command line

    Hello World command line

    By Allan

    Node.js can be used to create command line utilities. The example below reads the first argument from the command line and prints a Hello message. To run this code on a Unix System: 1. Create a new file and paste the code below. The filename is irrelevant. 2. Make

    Hello World HTTP server

    Hello World HTTP server

    By Allan

    First, ensure that you have Node.js installed on your platform. We use https://nvm.sh In this example, we'll create an HTTP server listening on port 1337, which sends Hello, World! to the browser. Note that instead of using port 1337, you can use any port of

    The development series

    The development series

    By Allan

    The development series aims to bring you language-specific getting started guides to walk you through the process of setting up your development environment and start containerising language-specific applications using Docker. The learning modules contain best practices and guidelines that explain how to create a new Dockerfile for your preferred language,

    Nodejs

    Nodejs

    By Allan

    What will you learn in this module? The Node.js getting started guide teaches you how to create a containerized Node.js application using Docker. In this guide, you’ll learn how to: * Create a simple Node.js application * Create a new Dockerfile which contains instructions required to build a