1.0.10 • Published 6 years ago
fed-crash-course-node-workshop v1.0.10
Node Rpc Workshop
Getting started
- Clone / fork this repo
npm i
Tasks
Your task is to add "Add Comments" functionality to the comments list:
Add an input and a button
Use API explorer to find the RPC service (its name is "CommentsService"). You will use the "Add" method
Do it TDD!! You will have to write 3 tests:
a. An E2E test for adding new comment (mocking RPC service)
b. An IT test for saving a new comment (mocking RPC service)
c. A component test for saving a comment (using nock to check that the comment was sent to the server)
Pairs:
| No. | Pair 1 | Pair 2 | |
|---|---|---|---|
| 1 | Dror Lapidot | Keinan Bar-Ilan | |
| 2 | Dmytro Maltsev | Karin Agan | |
| 3 | Andrii Domin | Moshe Kerbel | |
| 4 | Volodymyr Ozhekhovskyi | Eyal Perry | |
| 5 | Mor Shemesh | Nitay Rabinovich | |
| 6 | Nir Cohen | Tal Magen | |
| 7 | Haim Houri | Evgeny Barabanov | |
| 8 | Meir Cohen | Mantas Pajada | |
| 9 | Andrii Koretskyi | Shachar Gershoni | Benny Holtzer |