Build App: Full-stack JavaScript Build System

0.9.8 · maintenance · verified Sun Apr 19

Build App is a comprehensive full-stack JavaScript application build system, currently stable at version 0.9.8. It operates primarily as a command-line interface (CLI) tool, `app-scripts`, orchestrating development tasks for both client and server components. Inspired by client-side build tools like Facebook's create-react-app, it extends similar 'out-of-the-box' facilities to full-stack development, simplifying build, development server, linting, and project initialization. While there isn't a stated release cadence, its pre-1.0 versioning suggests a focus on stability and functionality rather than rapid feature iteration. Key differentiators include its opinionated project structure, support for multiple client frameworks (React, Angular, Vue) by integrating with their respective build systems, and compilation of both JavaScript and TypeScript server code to ES5 for broader compatibility. It is OS-agnostic and aims to streamline the setup and development of modern full-stack applications through starter templates.

Common errors

Warnings

Install

Imports

Quickstart

Installs the global `build-app` CLI, initializes a new full-stack project, performs initial setup including dependency installation, and then demonstrates running both client and server development modes and creating a production build.

npm install -g build-app

# See all available commands for the CLI tool
app-scripts --help

# Initialize a new full-stack project interactively, or with specific templates.
# This example sets up a 'my-full-stack-app' with a TypeScript server and React client, and VS Code IDE settings.
app-scripts init my-full-stack-app --project simple --server ts --client react --ide code

# Navigate into the newly created project directory
cd my-full-stack-app

# Perform initial project setup: install dependencies for both client and server, build client/server, and run seed tasks.
# This command typically takes some time as it installs all required node_modules.
app-scripts seed

# To run the server in development mode (watches for file changes, usually on port 3000 by default)
app-scripts serve -s

# To run the client in development mode (starts the client-side development server, typically on a different port like 3001)
# Access the client application in your web browser via the URL provided by the client dev server (e.g., http://localhost:3001).
app-scripts serve -c

# To create a production-ready build for deployment, consolidating client and server artifacts into a 'build' folder.
app-scripts build

view raw JSON →