/NgCore

Primary LanguageTypeScript

EcommerceClientNg

This project was generated with Angular CLI version 13.3.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

NOTES

-- ng g module admin --> admin modulü oluşturuyoruz. -- ng g module ui --> ui modulü oluşturuyoruz. (default layout olacak) -- ng g module admin/layout --> sonrasında admin module e layout module ü import ediyoruz. -- ng g component admin/layout --> component i oluşturup ilgili module declare ediyoruz. (Component i kullanmak için ilgili modullere declare etmek gerekiyor) -- ng g module admin/layout/components --> layout içerisindeki componentleri oluşturmak için -- ng g component admin/layout/components/header --> layout da header oluşturuldu. -- ng g component admin/layout/components/sidebar --> layout da sidebar oluşturuldu. -- ng g component admin/layout/components/footer --> layout da footer oluşturuldu.

-- ng g module admin/components --> admin arayüzünün componentlerini tutan module -- ng g module admin/components/products --> products ın componentlerini tutan module -- ng g component admin/components/products --> products ın componentleri -- ng g module admin/components/order --> order ın componentlerini tutan module -- ng g component admin/components/order --> order ın componentleri -- ng g module admin/components/customer --> customer ın componentlerini tutan module -- ng g component admin/components/customer --> customer ın componentleri -- ng g module admin/components/dashboard --> dashboard ın componentlerini tutan module -- ng g component admin/components/dashboard --> dashboard ın componentleri

-- ng g module ui/components --> ui componentlerini tutan module -- ng g module ui/components/products --> ui da products ın componentlerini tutan module -- ng g component ui/components/products --> products ın componentleri -- ng g module ui/components/baskets --> ui da baskets in componentlerini tutan module -- ng g component ui/components/baskets --> baskets ın componentleri -- ng g module ui/components/home --> ui da baskets in componentlerini tutan module -- ng g component ui/components/home --> baskets ın componentleri

--- Tüm componentler için bir rota belirlenir.