You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,39 @@ You need to create an account for Microting API and get your access credentials.
20
20
21
21
## Development recommendations
22
22
23
-
- Visual Studio 2015
24
-
- MS SQL Server Management Studio
25
-
- Node.js
23
+
To work with back-end use <ahref="https://www.visualstudio.com/vs/community/">**Visual Studio 2017 Community edition**</a>.
24
+
25
+
To work with Angular front-end code recommended to use <ahref="https://www.jetbrains.com/webstorm/">**WebStorm**</a> or <ahref="https://code.visualstudio.com">**VS Code**</a>. If you're going to use VS Code you're need to install several plugins.
26
+
27
+
1. <ahref="https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials"> Angular Essentials</a> - for Angular intellisense.
28
+
2. <ahref="https://marketplace.visualstudio.com/items?itemName=Mikael.Angular-BeastCode">Angular Snippets</a> - for Angular snippets.
29
+
3. <ahref="https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials"> Angular Language Service</a>
30
+
4. <ahref="https://augury.angular.io/"> Chrome Augury extention</a> - to observe variables and changes in a real time.
31
+
32
+
After installing, run **cmd** navigate to front-end **eform-client** folder and type **npm i**, after that **npm start**. This will start **Webpack** development server that will reload on any change in the front-end code.
33
+
34
+
There is two ways how to debug Angular application.
35
+
First way is to put breakpoints in the **Sources**. To do that Open **Chrome Dev Tools** and then navigate to **Sources** tab. Go down and open **webpack://** tab from left panel. After that open tab with *disk_name:/app_folder/eform-client* (for example *C:/Users/MyUser/eForm/eform-client/*). Here you will see an entire application as you see it in **VS Code** and put a **debugger** where you're need it.
36
+
The second way is simple, you can just put a **debugger** word dirrectly in code. After that app will reload and with open **Chrome Dev Tools** on the function call **debugger** will be triggered.
37
+
For example **debugger** will be triggered on click *Logout* button:
38
+
39
+
```
40
+
logout(): Observable<any> {
41
+
debugger;
42
+
return this.post(AuthMethods.Logout, {});
43
+
}
44
+
```
45
+
46
+
To use **Augury** go to **Chrome Dev Tools** and navigate to this tab.
47
+
The component tree displays a hierarchical relationship of the components. When a component is selected, Augury presents additional information about the selected component.
48
+
49
+
1) View Source — a link to the source code of the component.
50
+
2) Change Detection — displays whether or not Change Detection is in use for the component.
51
+
3) Object Properties — lists the properties of the component.
52
+
4) Dependencies - lists the dependencies of the component.
53
+
54
+
To view the source code of the selected component, click the **View Source** link. This will bring the **Sources** tab into focus and display the source code.
55
+
The major feature of Augury is the Router Tree, which displays the routing information for the application. The **Router Tree** tab is located next to the **Component Tree** tab along the top left side.
0 commit comments