lowcode icon indicating copy to clipboard operation
lowcode copied to clipboard

Codegen: 7c Generate routes (ETA 27.6.2021)

Open jozef-slezak opened this issue 4 years ago • 2 comments

  • [ ] reuse and improve logic #42 https://github.com/iteria-app/lowcode/blob/3a7d7b4525b4c71ea79943c6787b2aae2a74198f/packages/react-lowcode/src/routes/routeHandlers.ts
  • [ ] manual and automated jeste tests on following examples

Examples

useRoutes

example-material-ui: https://github.com/iteria-app/example-material-ui/blob/96f7946a35db41023d598705bac0495651a09380/src/App.tsx#L13 https://github.com/iteria-app/example-material-ui/blob/96f7946a35db41023d598705bac0495651a09380/src/routes.tsx#L13

<Route>

example-ionic-react: https://github.com/iteria-app/example-ionic-react/blame/main/src/App.tsx#L98

example-grommet: https://github.com/iteria-app/example-grommet/blob/24c18e618b9860a886c0237e6b73eaff70d04568/src/index.tsx#L38

jozef-slezak avatar Apr 19 '21 19:04 jozef-slezak

@mat-app:

  • renamed: generateListPage(), generateListComponent()
  • API params (please specify parameters - create pull request for an API before implementation) - this is important step for the integration
  • Acceptance criteria - please write automated test against the API in the same pull request - this is important step for ensuring that requirements are fulfilled

jozef-slezak avatar Jun 08 '21 04:06 jozef-slezak

@mat-app, ETA 27.6.2021 example-material-ui route - add to JSON use in generatePages()

jozef-slezak avatar Jun 23 '21 03:06 jozef-slezak