
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
create-node-backend-template
Advanced tools
A CLI tool to scaffold Node.js backend projects with options for JavaScript or TypeScript templates. The generated project includes essential packages and follows a standard structure.
express, dotenv, cors, and body-parser..env, .gitignore, tsconfig.json, and package.json.Install the CLI globally:
npm install -g create-node-backend
To create a new node-backend, run the following command:
create-node-backend your-backend-name
You will be prompted to choose between a JavaScript or TypeScript template. Follow the prompts to set up your project.
${your-project-name}/
├── src/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── services/
│ └── server.ts
├── .env
├── .gitignore
├── nodemon.json
├── package.json
├── tsconfig.json
└── README.md
${your-project-name}/
├── src/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── services/
│ └── app.js
├── .env
├── .gitignore
├── package.json
├── server.js
└── README.md
The package.json includes the following scripts:
start: Start the production server.dev: Start the development server with auto-reload (using nodemon for JavaScript or ts-node-dev for TypeScript).build: Compile TypeScript to JavaScript (only if TypeScript is chosen).The .env file contains placeholders for the following environment variables:
Contributions are welcome! Please feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.
FAQs
A CLI tool to scaffold a Node.js backend project
The npm package create-node-backend-template receives a total of 0 weekly downloads. As such, create-node-backend-template popularity was classified as not popular.
We found that create-node-backend-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.