@trysts/scaffold
v0.1.7
Published
Project template scaffolding built for Trysts.
Downloads
9
Readme
Scaffold
Project template scaffolding built for Trysts.
Usage
npx @trysts/scaffold [options]Examples
Scaffolding a basic nodejs service:
npx @trysts/scaffold@latest --name productScaffolding a nodejs with mongodb integration:
npx @trysts/scaffold@latest --name product --w-mongoScaffolding a nodejs with kafka integration:
npx @trysts/scaffold@latest --name product --w-kafkaScaffolding a nodejs with mongodb and kafka integration:
npx @trysts/scaffold@latest --name product --w-mongo --w-kafkaOptions
| Prefix | Params | Required | Description |
| ----------- | ---------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------- |
| --name | <service_name> | Must be one word | Naming for you backend service, require a word unless you'll get a docker complain when running docker compose up |
| --w-mongo | | | Scaffolding a service with mongodb integration. Can be combine with other options |
| --w-kafka | | | Scaffolding a service with kafka integration |
