ToastBubbles / sequelize-typescript-model-generator

Quickly build typescript templets for NestJS/Sequelize database models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Model Generator

Generic badge

This is a Node application is designed to quickly set up basic database models for a program built on sequelize-typescript.

Authors

Run Locally

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.

About

Quickly build typescript templets for NestJS/Sequelize database models


Languages

Language:JavaScript 100.0%