/objection-models-generator

pg-generator template for objection in typescript

Primary LanguageTypeScriptMIT LicenseMIT

objection-models-generator

pg-generator template for objection in typescript

Descriptions

Reverse engineer a Postgres Database and generate objection models in typescript

Instructions

  • Create environment variables file:
    • mv .env.example .env
  • Edit .env file and source de variables:
    • . .env
  • Install packages:
    • yarn install
  • Build the project:
    • yarn build
  • Generate templates:
    • make gen-models