microman
v0.0.4
Published
**microman** is a powerful CLI tool that scaffolds new microservices using popular backend technologies, and automatically integrates them into your project’s Docker Compose setup. Use it to quickly expand and organize your microservice-based architectu
Readme
microman
microman is a powerful CLI tool that scaffolds new microservices using popular backend technologies, and automatically integrates them into your project’s Docker Compose setup.
Use it to quickly expand and organize your microservice-based architecture!
Features
- ✅ Scaffold microservices with extensible backends (Node.js/Express, Python/FastAPI, etc.)
- ✅ Automatically updates your
docker-compose.yml - ✅ Custom templates via simple extension interface
- ✅ Ready for CI/CD integration
Getting Started
1. Create a new microservice
Run directly via npx:
npx microman newYou will be guided through naming your microservice and selecting its technology.
The tool creates code, Dockerfiles, environment files, and updates docker-compose.yml for you.
2. Install globally (optional)
If you prefer, install globally:
npm install -g microman
microman newUsage
Scaffold a microservice
npx microman new- You are prompted for a name and the backend technology.
- All boilerplate and Docker integration is handled for you!
Extending
Add a new technology
Create a new extension in src/extensions/, implementing the MicroserviceExtension interface.
Then, register your extension in the main manager (see the existing code for examples).
PRs for new technologies, improvements, and bug-fixes are welcome!
Contributing
We welcome contributions!
To get started:
- Fork this repository
- Create your feature branch:
git checkout -b feat/your-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin feat/your-feature - Open a pull request
Issues and suggestions:
Please open an issue for bugs, feature requests, or questions.
Coding style:
- TypeScript, with
strictenabled - Separate extensions in their own files under
src/extensions/ - Use clear, readable commit messages
License
MIT © marcoagia
Happy scaffolding! 🎉
