New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

orm-project

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orm-project

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-38.46%
Maintainers
4
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 28 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc