Ozone Backend Generator

raw JSON →
1.0.51 verified Fri May 01 auth: no javascript

generator-ozone-be is a Yeoman generator (v1.0.51, actively maintained) that scaffolds an Express.js application with Jest, linting (ESLint/Prettier), code coverage reporting, and pre-commit hooks (Husky/lint-staged). It enforces a structured project template for Node.js backends with built-in supertest for HTTP testing. Unlike other Express generators, it bundles testing and code quality tools by default in a single command. Designed for developers wanting a quick start with opinionated best practices, it requires Yeoman (yo) globally and runs via 'yo ozone-be'.

error 'yo' is not recognized as an internal or external command
cause Yeoman (yo) not installed globally or not in PATH.
fix
Run 'npm install -g yo' and add npm global binary folder to your PATH.
error You don't seem to have a generator with the name “ozone-be” installed.
cause Generator not installed globally or wrong name.
fix
Install generator globally: 'npm install -g generator-ozone-be'
gotcha Generator must be installed globally (-g) to work with 'yo'. Installing locally will not make it available.
fix npm install -g generator-ozone-be
gotcha Requires Node.js and npm pre-installed. The generator relies on 'npm >= 4.0.0'.
fix Ensure Node.js >= 6 (npm 4+) is installed.
gotcha Scaffolding may overwrite existing files in the target directory without warning.
fix Always run in a fresh/new directory to avoid accidental overwrites.
npm install generator-ozone-be
yarn add generator-ozone-be
pnpm add generator-ozone-be

Shows how to globally install Yeoman and the generator, scaffold a new Express.js app, and run tests.

npm install -g yo generator-ozone-be
mkdir my-express-app
cd my-express-app
yo ozone-be

# Follow prompts, then run:
npm test
npm start