This is a Node application is designed to quickly set up basic database models for a program built on sequelize-typescript.
Clone the project
git clone https://github.com/ToastBubbles/sequelize-typescript-model-generator
Go to the project directory
cd sequelize-typescript-model-generator
Install dependencies
npm install
Build the project
node index
Once prompted, type in the name of your model in camelCase, then when prompted again, enter the model name in plural camelCase.
Once the program is complete, your files will be waiting in the output
folder.
Make sure to read the notes in the terminal, you may also have to manually change the import statements depending on your project structure.