Convert an UML class diagram to Mongoose Models.
Generate Mongoose Models from UML Class Diagram exported to Csv file by Lucidchart.
Generate Mongoose Models.
Generate Mongoose Models Relations ( right now, we support just OneToMany relation).
npm i -g lucidchart-mongoose-models-generator
Create an UML Class Diagram at Lucidchart.
Export Class Diagram to CSV file.
npx lucidchart-mongoose-models-generator --csvFilePath="FILE_PATH"
Change File_PATH with your class diagram file path (make sure there is no space in the file name).
Result:
If you like this package, please star this repository.
If you want to contribute to this package, feel free to create a pull request.