express-basic-starter v1.9.0
Express Basic Starter v2.0.0
A lightweight, professional-grade CLI tool for scaffolding Express.js applications with a well-structured layout, essential packages, and built-in Swagger documentation. Supports both ES Modules and CommonJS.
Key Features
- š Zero Configuration: Get started with a single command
- š MVC Architecture: Pre-configured Model-View-Controller structure
- š API Documentation: Built-in Swagger/OpenAPI documentation
- š Security: JWT authentication utility included
- ⨠Modern JavaScript: Support for both ES Modules and CommonJS
- š ļø Error Handling: Robust error handling system
- š Request Validation: Express-validator integration
- š Hot Reload: Development server with nodemon
Installation
Install the CLI tool globally to use it from anywhere:
npm install -g express-basic-starter
express-basic-starter <project-name>
Alternatively, you can use npx to run the tool without installing it globally:
npx express-basic-starter <project-name>
Usage with ES Modules
To create a project using ES module syntax, use the --es flag:
npx express-basic-starter <project-name> --es
Project Folder Structure
my-express-app
āāā app.js
āāā package.json
āāā package-lock.json
āāā .gitignore
āāā controllers
ā āāā sampleController.js
āāā docs
ā āāā swagger
ā āāā testDocs.js
āāā models
ā āāā sampleModel.js
āāā routes
ā āāā sampleRoute.js
āāā utils
ā āāā error.js
ā āāā jwt.js
ā āāā response.js
āāā uploads
7 months ago
8 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago