archgenie
v1.1.3
Published
A powerful Node.js CLI tool to quickly scaffold project folder structures based on popular software architecture patterns.
Maintainers
Readme
ArchGenie CLI
A powerful Node.js CLI tool to quickly scaffold project folder structures based on popular software architecture patterns.
Features
- Supports multiple architecture patterns like MVC, MVP, MVVM, PAC, HMVC, Layered, Microservices, Serverless, Clean Architecture, Hexagonal, Onion, REST, GraphQL, gRPC, Event-Driven, CQRS, Pub/Sub, Client-Server, P2P, and more.
- Easily switch between architectures with a simple command.
- Automatically initializes git repo, npm project, installs Express and Nodemon.
- Option to backup or delete existing project files before scaffolding a new structure.
- Helps enforce clean project organization for better maintainability.
Installation
npm install -g archgenieUsage
archgenie@create <architecture-flag>Help
archgenie@create --helpAvailable Flags
--mvc
--mvp
--mvvm
--pac
--hmvc
--layered
--monolithic
--microservices
--soa
--serverless
--clean
--hexagonal
--onion
--rest
--graphql
--grpc
--event_driven
--cqrs
--pub_sub
--client_server
--p2p
--master_slave
--leader_follower
--load_balanced_cluster
--blackboard
--pipes_filters
--microkernel
--service_mesh
--reactive
--help
--versionExamples
archgen-cli --mvcCreates folders for the MVC pattern including models, views, controllers, and related folders.
How it works
- Checks if a previous architecture was scaffolded.
- Prompts you to delete existing files or back them up before creating the new folder structure.
- Initializes git and npm, installs dependencies (
expressandnodemon). - Creates folders and adds basic
.gitignoreandserver.jsfiles.
Version
1.1.3
Author
Praveen KR
Email: [email protected]
LinkedIn: https://www.linkedin.com/in/mepraveenkr/
GitHub: https://github.com/frontenddeveloperpraveen
License
MIT License
Feel free to contribute, raise issues, or request new architectures!
