vapor-community / Vii

Vii attempts to reverse engineer an existing database into Vapor 4 compatible models
MIT License
7 stars 2 forks source link

Enhance Vii to support full project creation #6

Open jonny7 opened 4 years ago

jonny7 commented 4 years ago

This would be a nice feature addition, if you could leverage a CRUD builder (Maybe @twof's) on top of Vii's model generation. You can go from just an existing DB to an entire working system for the most part via 4 questions on a command line. The end result would most likely need some manual work. But a fairly minimal amount of work and new users to Vapor wouldn't have to sift through source code and packages to get the right imports and functions

twof commented 4 years ago

Hey I'd love to help out with this in any way I can. The CRUD Router has a WIP Vapor 4 branch https://github.com/twof/VaporCRUDRouter/tree/4

I'm running into a few limitations around running updates generically that might require some changes to FluentKit. I'll see if I can find the time tomorrow to work on it if Tanner's on discord.

jonny7 commented 4 years ago

Cool @twof, no rush, I'm still ironing out a few things on my end anyway 🙂