Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt building a scaffold generator: both model and controller CRUD fully working #30

Closed
jondot opened this issue Nov 25, 2023 · 0 comments
Labels
enhancement New feature or request STG-3 When done, ready for public announcement

Comments

@jondot
Copy link
Contributor

jondot commented Nov 25, 2023

lc g scaffold post title:string content:text
lc db migrate
lc db entities (syncs entities code)
lc start (does actual compilation and running)

Will generate:

  • model (migration, with fields and their schema types)
  • controller CRUD routes fully working (list, put, post, delete) with each Args struct input into routes
  • views (based on post type) with all fields serializing
@jondot jondot added enhancement New feature or request STG-3 When done, ready for public announcement labels Nov 25, 2023
@kaplanelad kaplanelad assigned kaplanelad and unassigned kaplanelad Nov 27, 2023
@jondot jondot closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request STG-3 When done, ready for public announcement
Projects
None yet
Development

No branches or pull requests

2 participants