-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteps.txt
16 lines (14 loc) · 822 Bytes
/
steps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1-create project: ng new angular-micro-service
2-create module in modules folder ng g module modules/hr --routing
3-create component ng generate component modules/hr/components/user/user-create
4-create model ng generate class --skip-tests=true modules/hr/models/user/user-list ( --skip-tests=true skip test class)
5- call component from another module:
in the main module export component HrModule->exports:UserListComponent
in other module import it AppModule->imports:HrModule
6-add services in provider HrModule->providers:UserListService
---------------------------------------------------------
--add to github
1-create Repositories projectName
2-git remote set-url origin https://github.com/yourName/projectName.git
3-git remote add origin https://github.com/yourName/projectName.git
4- git push github master