Scaffnode screenshot

Scaffnode

Author Avatar Theme by Kishcom
Updated: 17 Jun 2025
11 Stars

My personally preferred node.js webapp scaffold: Node.js + ExpressJS + Nunjucks Templates + SASS + Mocha/Chai/Karma + Svelte based frontend

Categories

Overview

This product is a Node.js web-app scaffolding that is designed to help developers quickly start a project using Node.js and popular Node.js modules such as Express.js, Bunyan logs, Multer file uploads, and Nunjucks HTML templates. It is meant to be a flexible solution that can adapt to individual preferences and requirements.

Features

  • Node.js Integration: Easily integrate the scaffolding with Node.js projects to start development quickly.
  • Popular Node.js Modules: Comes with pre-installed and configured modules like Express.js, Bunyan logs, Multer file uploads, and Nunjucks HTML templates.
  • Frontend Support: Includes a frontend setup based on Svelte for building single-page applications.
  • Backend API Testing: Set up for backend API tests using Mocha and superagent.
  • Frontend Testing: Supports frontend tests using Jest.
  • i18n Multi-language Support: Provides multi-language support with example language files and usage instructions.
  • Production Build: Includes a build process for generating a production-ready frontend.
  • Live Deploy Helpers: Offers NGINX config and SystemD service files in the deploy folder, with the option to use pm2 as well.

Installation

To install the scaffolding, follow these steps:

  1. Make sure you have Node.js installed on your system with a version greater than 16.x. Also, ensure that NPM is installed.
  2. Set up your node_modules folder or configure the NODE_PATH environment variable properly.
  3. For Linux and OSX users, the installation process has been tested and should work smoothly. Windows users may need to address the NODE_ENV environment variable.
  4. Once your Node.js and NPM are configured, the installation is easy. Simply run the following command:
    npm install scaffnode
    

Summary

The scaffnode is a Node.js web-app scaffolding designed to simplify the initial setup of a project using Node.js and popular Node.js modules. It provides integration with Node.js, pre-installed modules like Express.js and Bunyan logs, support for building frontend applications, testing capabilities, multi-language support, and deployment helpers. By using scaffnode, developers can quickly set up a development environment and start building their projects with ease.