1.2.1 • Published 1 year ago

orm-project v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

install size npm version

ORM-PROJECT

It was created to create a project more conveniently than the TypeORM structure.

NOTE

This NPM Module is based on TypeORM. It will use TypeORM

Git : https://github.com/sun980120/orm-project Npm : https://www.npmjs.com/package/orm-project

INSTALL

  • npm i -g orm-project

USING

$ orm-project [ Options ] -n [ Path/DirName ]
$ cd [ Path/DirName ]
$ npm install OR yarn install
$ npm run start:dev OR yarn run start:dev
&&
$ npm run build OR yarn run build // Typescript build to Javascript
$ npm run start OR yarn run start // node start
&&
$ npm run start:nodemon OR yarn run start:nodemon // node start to Nodemon

Directory Tree

orm-project -n project

project
├── config
│   └── default.yaml
│   └── development.yaml
│   └── production.yaml
├── src
│   └── api
│   │   └── auth
│   │       └── dto
│   │       │   └── auth.dto.ts
│   │       ├── auth.controller.ts
│   │       ├── auth.entity.ts
│   │       ├── auth.repository.ts
│   │       └── auth.service.ts
│   ├── bin
│   │   └── www.ts
│   ├── common
│   │   ├── exceptions
│   │   │   ├── bad-request.exception.ts
│   │   │   └── http.exception.ts
│   │   └── interfaces
│   │       └── controller.interface.ts 
│   ├── config
│   ├── middlewares
│   │   ├── error.middleware.ts
│   │   └── request.handler.ts
│   ├── modules
│   ├── data-source.ts
│   └── index.ts
├── .env
├── .gitignore
├── package.json
└── tsconfig.json

CODE FLOW

Controller → Service → Repository

  • /api/auth/auth.controller.ts
  • /api/auth/auth.service.ts
  • /api/auth/auth.repository.ts

LOG

  • 1.1.8 - Symbolic Link Edit
  • 1.1.9 - Change import
  • 1.1.10 - Change import
  • 1.1.12 - package.json ADD dirName && Version -> 1.1.12
  • 1.1.14 - Change Import & Edit Code
  • 1.1.15 - Change license
  • 1.1.16 - Delete scripts
  • 1.1.17 - Edit .gitignroe
  • 1.2.0 - ReadMe Update
  • 1.2.1 - Build & yarn start Update
1.2.0

2 years ago

1.2.1

1 year ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago