Skip to content

Instantly share code, notes, and snippets.

View trungpq163's full-sized avatar
🌸
こんにけは

Trung Phan trungpq163

🌸
こんにけは
View GitHub Profile
@anchan828
anchan828 / README.md
Last active April 1, 2025 14:23
This is an improvement to allow @nestjs/[email protected] to handle CustomRepository. I won't explain it specifically, but it will help in some way. https://github.com/nestjs/typeorm/pull/1233

You need to provide some classes and decorators yourself to maintain the same style as [email protected].

1. EntityRepository -> CustomRepository

@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}

↓

@KangHidro
KangHidro / 1. demo angular 17+ (Standalone app) structure.txt
Last active January 21, 2025 04:12
Demo Angular Structure. Angular 14 introduced standalone component, so I make some changes in "shared" folder. Angular 17 introduced standalone application, so I make breaking change in all structure project.
src
β”œβ”€ app
β”‚ β”œβ”€ auth (Folder)
β”‚ β”‚ β”œβ”€ auth routes config (File)
β”‚ β”‚ β”œβ”€ login (Standalone-Component)
β”‚ β”‚ β”œβ”€ register (Standalone-Component)
β”‚ β”‚ └─ ...
β”‚ β”‚
β”‚ β”œβ”€ core (Folder)
β”‚ β”‚ β”œβ”€ core providers config (File)