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
+24-4Lines changed: 24 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -120,15 +120,35 @@ There are several demonstration files available in this template.
120
120
121
121
## Routes
122
122
123
-
All the route definitions should be included in this file based on higher priority first. In this example project following route is added to retrieve the summary.
123
+
```
124
+
├── /conf/
125
+
│ └── routes
126
+
```
127
+
128
+
* All the route definitions should be included in this file based on higher priority first. In this example project following route is added to retrieve the summary.
124
129
125
130
```
126
131
GET /summary controllers.HomeController.appSummary()
127
132
```
128
133
129
-
```
130
-
├── /conf/
131
-
│ └── routes
134
+
* The below service is there in the front-end to manage the http requests which defined in the backend service.
135
+
136
+
```javascript
137
+
@Injectable()
138
+
exportclassAppService {
139
+
private serviceUrl ='/summary';
140
+
141
+
constructor(privatehttp:HttpClient) {
142
+
}
143
+
144
+
/**
145
+
* Makes a http get request to retrieve the welcome message from the backend service.
0 commit comments