| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Folder structure generator for Angular projects, automatically organizing components, services, guards, and other elements into a modular and maintainable architecture.
If you don't want to install the script, just copy and run this command in your Angular project:
mkdir -p src/app/{core/{guards,interceptors,interfaces,services},features/{navbar,header,footer},pages/{admin,home,login,"not-found"},shared/{components,directives,pipes}}git clone https://github.com/FlorianBx/ng-angular-structure-cli.gitmkdir -p ~/bin
cp ng-struct.sh ~/bin/ng-struct.sh
chmod +x ~/bin/ng-struct.sh
echo 'alias ng-struct="~/path/to/ng-angular-structure-cli/create-structure.sh"' >> ~/.zshrcsource ~/.zshrcsource ~/.zshrcOpen to contributions!
BASH & ZSHmkdir -p ~/bin
cp ng-struct.sh ~/bin/ng-struct.sh
chmod +x ~/bin/ng-struct.sh
echo 'alias ng-struct="~/path/to/ng-angular-structure-cli/create-structure.sh"' >> ~/.zshrcsource ~/.zshrcIn your Angular project root directory:
ng-structsrc/
└── app/
├── core/
│ ├── guards/
│ ├── interceptors/
│ ├── interfaces/
│ └── services/
├── features/
│ ├── navbar/
│ ├── header/
│ └── footer/
├── pages/
│ ├── admin/
│ ├── home/
│ ├── login/
│ └── not-found/
└── shared/
├── components/
├── directives/
└── pipes/
MIT
| Back | FazBrowse Home | New Git URL |