express-basic-feature-base
v1.0.1
Published
A basic feature-base structure for an Express.js application
Downloads
2
Maintainers
Readme
Express Basic feature-base
Express Basic feature-base is a command-line interface (CLI) tool that simplifies the process of setting up a basic Express.js project with a structured folder layout, essential packages, documentation.
Feature-base
- Quick Setup: Initialize a new Express project with one command.
- feature-base Folder Structure: Organized folders for controllers, models, and routes.
- Basic Packages: Includes essential npm packages pre-configured.
- Customizable: Easily extend or modify the generated project structure.
Installation
Install the CLI tool globally to use it from anywhere:
npm install -g express-basic-feature-base
express-basic-feature-base <project-name>
Alternatively, you can use npx to run the tool without installing it globally:
npx express-basic-feature-base <project-name>
Project Folder Structure
my-mvc-app/
├── features/
│ ├── users/
│ │ ├── userController.js
│ │ ├── userModel.js
│ │ ├── userRoutes.js
├── views/
│ ├── users/
│ │ ├── userView.ejs
├── public/
│ ├── css/
│ │ ├── styles.css
│ ├── js/
│ │ ├── script.js
├── app.js
├── package.json
├── README.md