nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.39k stars 107 forks source link

[Feature Request] Add interactive REPL to trial new ideas on the CLI #126

Open afogel opened 5 months ago

afogel commented 5 months ago

Is your feature request related to a problem? Please describe. I'd be remiss if I first didn't say: THANK YOU! This project is incredible.

Sometimes, I would like to trial out queries or ideas in a repl without having to go through the entire request/response lifecycle to see whether the idea makes sense. Rails has implemented this idea in its Rails console. Blitzjs has done something similar.

It would be great if we could mimic core ideas from the blitzjs implementation to enable this feature as a package.json script.

Describe the solution you'd like On the CLI, I would be able to run bun kirimase:console and jump into an interactive REPL that has loaded my environment (and most importantly, my db config) so I could easily start testing out queries.