Skip to content

cli: build functional scaffolds for template-backend-kotlin, template-backend-groovy, template-frontend-vue and template-frontend-react #91

Description

@marioserrano09

Context

Only dynamiatools/template-backend-java has real content. The CLI wizard (dynamia new) advertises 3 backend languages (Java/Kotlin/Groovy) and 2 frontend frameworks (Vue/React), but only Java actually works today. Related: #90.

The 4 repos already exist as empty placeholders (README/LICENSE/.gitignore) in the org:

Pending work per repo

template-backend-kotlin / template-backend-groovy

Mirror template-backend-java (same tools.dynamia.* dependencies in pom.xml, same src/main/<lang>/com/example/demo structure, same application.yaml), adapted to each language's syntax. Should follow the placeholder conventions documented in platform/packages/cli/README.md ("Template author conventions"): {{GROUP_ID}}, {{ARTIFACT_ID}}, {{BASE_PACKAGE}}, etc. — see also the placeholder gap tracked in #92.

template-frontend-vue / template-frontend-react

Vite + Vue3/React project with @dynamia-tools/sdk and @dynamia-tools/ui-core (or @dynamia-tools/vue for Vue) already installed, using the {{PROJECT_NAME}} token (the only one generateFrontend currently replaces, in src/generators/frontend.ts). Should include a minimal SDK usage example (login + CRUD list) so the scaffold isn't empty.

Once each repo is done

Go back to platform/packages/cli/cli.properties and set enabled=true for that template (see #90).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions