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

Improve saas + rest-api starter #834

Closed
10 tasks done
jondot opened this issue Oct 13, 2024 · 0 comments
Closed
10 tasks done

Improve saas + rest-api starter #834

jondot opened this issue Oct 13, 2024 · 0 comments
Milestone

Comments

@jondot
Copy link
Contributor

jondot commented Oct 13, 2024

  • Organize route generation: Organize which routes are prefixed with "/api" #818
  • Create default initializer hook, with the standard view engine Create default initializers #509
    • make sure lightweight template has no initializers (override with empty)
  • Remove notes.rs, move user.rs profile into /auth/current (which makes user.rs removable and remove it.). after this, controllers/ folder has only mod.rs and auth.rs see also Clean Starter #820
  • Add to starter generation option "API" along with "client side" and "server side" asset serving. API option will set up NO asset serving

After these steps saas and rest-api starters will be similar, and we can remove one of them, call the new starter app.

Final prep checklist

  • update "old" starters -> into template in loco new
  • transform current CI starters into a series of commands loco new
  • update docs: use cargo install loco instead of cargo install loco-cli
  • make starter description in prompt menu identical to old loco-cli
  • final grep of loco-cli and replacement with loco
    • convert loco-gen tests from loco-cli to loco-new (in model.rs) and update CI to install loco-new
  • loco-cli mark as deprecated
  • check if we need cargo uninstall loco-cli as instruction (loco binary used by both)
  • release loco CLI
    version policy:
    cli: 0.x.y -> x sync'd with framework, y runs independently
    framework: 0.x.y -> x sync'd with cli, y runs independently
  • cargo framework version in Cargo.toml should say 0.x and not specify patch version
@jondot jondot added this to the 0.11.0 milestone Oct 13, 2024
@jondot jondot modified the milestones: 0.11.0, 0.12.0 Oct 18, 2024
@jondot jondot modified the milestones: 0.12.0, 0.14.0 Oct 27, 2024
@jondot jondot modified the milestones: 0.14.0, 0.13.0 Nov 10, 2024
@jondot jondot closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant