express-folderify
A CLI tool to quickly set up a folder structure for a Node.js Express server, making it easy to get started on your next web application.
Usage
To create a new Express app folder structure, simply run the following command using npx
:
npx express-folderify --name your-app-name
Replace your-app-name with the desired name for your application. For example:
npx express-folderify --name server
This command will create a new directory called my-new-app with the following structure:
my-new-app/
├── src/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── server.js
├── config/
└── .env
Features
Quickly generates a standard folder structure for Express applications.
Automatically installs required dependencies.
Allows you to specify the project name.
Requirements
Node.js (version 12 or higher)
npm (version 6 or higher)
License
This project is licensed under the MIT License. See the LICENSE file for details.
Express - Fast, unopinionated, minimalist web framework for Node.js.
npm - The package manager for JavaScript.