srinivastamada / angular-multi-tenant

Angular 8 Multi Tenant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

9lessons Logo

Angular Multi Tenant ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฎ๐Ÿ‡ณ

This project was generated with Angular CLI version 8.0.

Designed by Srinivas Tamada https://www.9lessons.info

Development server ๐Ÿฆ๐Ÿฆ๐Ÿฆ

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

๐Ÿ‡บ๐Ÿ‡ธUS Server

npm run start-US

http://localhost:4200/

๐Ÿ‡ฌ๐Ÿ‡งUK Server

npm run start-UK

http://localhost:4200/

IN Server

npm run start-IN

http://localhost:4200/

Build ๐Ÿš€๐Ÿš€๐Ÿš€

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

๐Ÿ‡บ๐Ÿ‡ธUS Build

npm run build-US

๐Ÿ‡ฌ๐Ÿ‡งUK Build

npm run build-UK

IN Build

npm run build-IN

Running unit tests

Run ng test to execute the US unit tests via Karma.

๐Ÿ‡บ๐Ÿ‡ธUS Test

npm run test-US

๐Ÿ‡ฌ๐Ÿ‡งUK Test

npm run test-UK

๐Ÿ‡ฎ๐Ÿ‡ณIN Test

npm run test-IN

Running end-to-end tests

Run ng e2e to execute the US end-to-end tests via Protractor.

๐Ÿ‡บ๐Ÿ‡ธUS E2E

npm run e2e-US

๐Ÿ‡ฌ๐Ÿ‡งUK E2E

npm run e2e-UK

๐Ÿ‡ฎ๐Ÿ‡ณIN E2E

npm run e2e-IN

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.

Components

๐Ÿ‡บ๐Ÿ‡ธUS ng generate component components/example --project=US

๐Ÿ‡ฌ๐Ÿ‡งUK ng generate component components/example --project=UK

๐Ÿ‡ฎ๐Ÿ‡ณIN ng generate component components/example --project=IN

Shared project/src/shared/services$ng generate component example

Services

๐Ÿ‡บ๐Ÿ‡ธUS ng generate service services/example --project=US

๐Ÿ‡ฌ๐Ÿ‡งUK ng generate service services/example --project=UK

๐Ÿ‡ฎ๐Ÿ‡ณIN ng generate service services/example --project=IN

Shared project/src/shared/services$ ng generate service example

Further help

To get more help, please contact srinivas@9lessons.info

About

Angular 8 Multi Tenant


Languages

Language:TypeScript 78.9%Language:JavaScript 11.9%Language:HTML 7.7%Language:CSS 1.5%