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: src/content/9/en/part9c.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,6 +270,17 @@ For this set of exercises, you will be developing a backend for an existing proj
270
270
271
271
The [frontend](https://github.com/fullstack-hy2020/patientor) has already been built by outsider experts and your task is to create a backend to support the existing code.
272
272
273
+
#### WARNING
274
+
275
+
Quite often VS code looses track what is really happening in the code and it shows type or style related warnings despite the code has been fixed. If this happens (to me it has happened quite often), just restart the editor. It is also good to doublecheck that everything really works by running the compiler and the eslint from the command line with commands:
276
+
277
+
```
278
+
npm run tsc
279
+
npm run lint
280
+
```
281
+
282
+
When run in command line you get the "real result" for sure. So, never trust the editor too much!
283
+
273
284
#### 9.8: Patientor backend, step1
274
285
275
286
Initialize a new backend project that will work with the frontend. Configure eslint and tsconfig with the same configurations as proposed in the material. Define an endpoint that answers HTTP GET requests for route */api/ping*.
0 commit comments