@aegisx/create-app
v1.0.4
Published
Create enterprise Nx monorepo with Angular and Fastify
Downloads
12
Maintainers
Readme
@aegisx/create-app
Create enterprise-grade Nx monorepo with Angular and Fastify in seconds.
🚀 Quick Start
npx @aegisx/create-app my-project
cd my-project
nx serve api # API on http://localhost:3333
nx serve web # Web on http://localhost:4200
nx serve admin # Admin on http://localhost:4201📦 What's Included
- Nx Monorepo - Modern build system with caching
- 3 Apps Ready to Run:
api- Fastify backend with health checksweb- Angular SPA for public usersadmin- Angular admin dashboard
- Shared Libraries:
shared/types- TypeScript interfacesshared/utils- Common utilities
- Developer Experience:
- Git hooks with Husky
- Commit linting
- Code formatting with Prettier
- Linting with ESLint
- Testing with Jest
- Docker Ready - PostgreSQL & Redis
- Full Documentation - Architecture guides
🎯 Interactive Mode
npx @aegisx/create-appYou'll be prompted for:
- Project name
- Target directory
- Docker setup
- Database migrations
⚡ Skip All Prompts
npx @aegisx/create-app my-project -y📋 CLI Options
Options:
-V, --version output the version number
-y, --yes skip prompts and use defaults
--skip-git skip git initialization
--skip-install skip dependency installation
-h, --help display help for command🛠️ Requirements
- Node.js >= 18
- Yarn (will be installed automatically if not present)
📁 Project Structure
my-project/
├── apps/
│ ├── api/ # Fastify backend
│ ├── web/ # Angular public app
│ └── admin/ # Angular admin app
├── libs/
│ └── shared/
│ ├── types/ # Shared TypeScript types
│ └── utils/ # Shared utilities
├── docs/ # Complete documentation
├── nx.json # Nx configuration
└── package.json # Dependencies🚀 Next Steps
After creating your project:
Start Development
nx serve api # Backend on :3333 nx serve web # Frontend on :4200 nx serve admin # Admin on :4201Run Tests
nx test api nx test web nx test adminBuild for Production
nx build api --prod nx build web --prod nx build admin --prod
📚 Documentation
Full documentation is included in the docs/ directory:
- Architecture guides
- Development workflows
- Testing strategies
- Deployment guides
🤝 Contributing
Contributions are welcome! Please read our contributing guidelines.
📄 License
MIT
