restful-react icon indicating copy to clipboard operation
restful-react copied to clipboard

Boilerplate from one openapi spec

Open dwebfan opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. Thanks for the project helping people to auto-generate most codes easily. But it would be great to also generate the whole project as boilerplate if possible.

Describe the solution you'd like Similiar as https://github.com/pankod/next-boilerplate, if people can run cli by providing one openAPI spec, one project can be autocreated, even some simple layout can be created, it would be super useful for any new people.

Describe alternatives you've considered

Additional context

dwebfan avatar May 24 '21 01:05 dwebfan

Hi @dwebfan, thanks for the idea!

Just a little question to make sure I do really understand what you want: What do you have in mind as flow?

  1. A plugin for https://github.com/pankod/superplate#creating-a-plugin
  2. a little restful-react init to help you bootstrap the config?
  3. or something else?

fabien0102 avatar May 25 '21 13:05 fabien0102

yes, #1 and #2 is exactly what I mean. I feel superplate has bootstrap one project capability but lack of openAPI support, and also mainly focus node.js backend, not open for other language. But your project can leverage openAPI spec and auto-create UI sides codes, so I feel they are complementary, and the integration btw this two projects would be very powerful.

dwebfan avatar May 25 '21 16:05 dwebfan

I like the idea, if you want to play with a superplate plugin, please do it and we can add the plugin in the README.md

For the restful-react init this is my todolist since a long time, I'm just missing time for side projects 😅

fabien0102 avatar May 26 '21 08:05 fabien0102