create-struxjs-app
v1.0.13
Published
Scaffolding CLI tool for generating a new StruxJS framework application.
Maintainers
Readme
create-struxjs-app
The official scaffolding CLI tool for StruxJS – a powerful, modern Node.js framework for crafting robust APIs and Web applications with a clean, Laravel-inspired architecture.
Installation
You do not need to install this package globally. You can use npx to bootstrap a new project anywhere on your system:
npx create-struxjs-app my-awesome-projectAlternatively, you can initialize a project in the current directory (ensure it is empty):
npx create-struxjs-app .What it does
When you run this CLI tool, it will:
- Scaffold a clean, optimized StruxJS directory structure (Controllers, Models, Middlewares, etc.)
- Automatically copy and set up your
.envconfiguration file - Generate a secure
APP_KEYandJWT_SECRETfor your application - Set up the correct
storage/publicsymlinks for asset handling - Run
npm installto prepare all dependencies - Provide you with the official StruxJS VSCode extension (
.vsix) for optimal Developer Experience
Running your new project
Once the scaffolding is complete, jump into your new project and start the development server:
cd my-awesome-project
npm run devFor more comprehensive documentation on routing, models, caching, and more, please visit the StruxJS Official Documentation.
License
This project is licensed under the MIT License.
