monstar-lab-oss / ml-frontend

A monorepo created to provide a starter kit for front-end projects at Monstar Lab, Inc.
https://www.npmjs.com/package/start-frontend
Mozilla Public License 2.0
14 stars 1 forks source link

[FEATURE] Make API solution selection optional, and use plop to generate it #1265

Open ptrkdan opened 3 months ago

ptrkdan commented 3 months ago

Is your feature request related to a problem? Please describe.

The current implementation requires the user to select either RESTful or GraphQL as an API solution. It is possible that they may not require an API solution for their project, making the code unnecessary.

Describe the solution you'd like

  1. Make the API solution selection an optional choice, similar to the router solution selection.
  2. Add handlebar templates for API solutions: RESTful and GraphQL
  3. Add a plop generator for API solutions
  4. Revise the CLI script to utilize plop when generating API solution for the project code.