UNPKG

apisculptify

Version:

Apisculptify is a powerful Node.js tool designed to automate the process of generating RESTful APIs for your TypeORM models. With Apisculptify, you can quickly create a new project, define your TypeORM models, and effortlessly generate CRUD (Create, Read,

19 lines (12 loc) 307 B
import { DataSource } from "typeorm"; export const myDataSource: DataSource = new DataSource({ type: "mysql", host: "localhost", port: 3307, username: "root", password: "", database: "crud_swagger", entities: ["src/model/*.ts"], logging: true, synchronize: true })