appforge-toolkit
v1.0.0
Published
A simple project scaffolding CLI that currently generates starter Node.js applications with a predefined project structure (support for other stacks and frameworks will be added in the future).
Maintainers
Readme
AppForge
A simple project scaffolding CLI that currently generates starter Node.js applications with a predefined project structure (support for other stacks and frameworks will be added in the future).
Features
Interactive CLI experience
Prompts for:
- Application name
- Application type
- Programming language
Automatically creates the project folder
Installs project dependencies
Generates a ready-to-run Node.js application
Supports:
- Node.js + JavaScript
- Node.js + TypeScript
Usage
You can run AppForge instantly without installing it globally by using npx:
npx appforge-toolkitGlobal Installation (Optional)
If you prefer to have it installed globally on your system:
npm install -g appforge-toolkit
appforge-toolkitYou will be prompted for:
? Application name: my-api
? Application type: Node
? Language: TypeScriptAfter the setup completes, a new project directory will be created:
my-api/
├── src/
├── package.json
├── tsconfig.json
└── ...Dependencies are automatically installed during project creation.
Generated Node.js Application
The generated Node.js application includes:
- Express.js server
- Basic project structure
- Development scripts
- Production scripts
- Environment-ready configuration
The server starts on:
http://localhost:3000Supported Templates
Node.js + JavaScript
Generates a JavaScript-based Node.js application using Express.
Node.js + TypeScript
Generates a TypeScript-based Node.js application with a preconfigured TypeScript setup.
Example
npx appforge-toolkit? Application name: user-service
? Application type: Node
? Language: JavaScriptGenerated project:
user-service/
├── src/
├── package.json
└── README.mdRunning the Generated Project
Navigate to the generated project directory:
cd my-apiStart the application:
JavaScript
npm run devTypeScript
npm run devThe application will be available at:
http://localhost:3000Current Limitations
Currently supported:
- Node.js
- JavaScript
- TypeScript
Additional application templates and frameworks will be added in future releases.
License
MIT
