Skip to content

Commit 5328d58

Browse files
committed
Add new YT links. Add one more SD solution
1 parent aa900ac commit 5328d58

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ We can perceive materials in this folder as project backlog or "box with other s
262262
| Три типа аспектов на примере AspectJ | [YouTube](https://youtu.be/S-LrdkfDSCU) | [Repo](https://github.com/andrei-punko/aspectj-sandbox) |
263263
| GitHub Actions: workflows, coverage, badges | [YouTube](https://youtu.be/8O9ZmQfixF4) | [Repo1](https://github.com/andrei-punko/spring-boot-3-template) [Repo2](https://github.com/andrei-punko/aspectj-sandbox) [Repo3](https://github.com/andrei-punko/java-interview-coding) [Repo4](https://github.com/andrei-punko/spring-boot-jwt) |
264264
| Самодельный ArrayList 2 | [YouTube](https://youtu.be/VBdYvDW8WL8) | [Code](src/main/java/by/andd3dfx/collections/custom/CustomArrayList.java) |
265+
| Ревью и рефакторинг кода подписчика (Spring Boot сервис) | [YouTube](https://youtu.be/sQQ0pkR9YRM) | [Repo](https://github.com/EkaterinaBezheskaia/CaseLabTestTask) |
265266

266267
| Title | YouTube video link |
267268
|---------------------------------|:---------------------------------------:|
@@ -285,6 +286,7 @@ We can perceive materials in this folder as project backlog or "box with other s
285286
| Прохождение теста "продвинутый" по ООП на hh.ru | [YouTube](https://youtu.be/CYq6ThzXj1Q) |
286287
| Прохождение теста "средний" по Алгоритмам на hh.ru | [YouTube](https://youtu.be/7rTVLwpg0U8) |
287288
| Прохождение теста "базовый" по Git на hh.ru | [YouTube](https://youtu.be/DiVsSMsuxP8) |
289+
| Прохождение теста "средний" по Linux на hh.ru | [YouTube](https://youtu.be/fcCLJxcMhdA) |
288290

289291
</details>
290292

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
* Design REST API to work with shop checks
3+
4+
** Create check
5+
POST /api/v1/check
6+
request: {
7+
"point_id": ...
8+
}
9+
201
10+
11+
** Get check by id
12+
PUT /api/v1/check/{id}
13+
request: {
14+
"items": [
15+
{
16+
"item_id": ...,
17+
"product_id": ...,
18+
"quantity": ...
19+
},
20+
{
21+
"item_id": ...,
22+
"product_id": ...,
23+
"weight": ...
24+
},
25+
...
26+
]
27+
}
28+
200
29+
30+
** Delete check
31+
DELETE /api/v1/check/{id}/{item_id}
32+
204
33+
34+
** Get discount
35+
GET /api/v1/check/{id}/discount
36+
response: {
37+
"value": ...,
38+
"reason": ...
39+
}
40+
200
41+
42+
** Get checks with pagination
43+
GET /api/v1/check?day=...&page=2&size=50
44+
response: {
45+
... (payload)
46+
pageInfo: {
47+
page: ...,
48+
size: 50,
49+
hasNext: true,
50+
...
51+
}
52+
}
53+
200

0 commit comments

Comments
 (0)