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: _includes/online-assignment/intro.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
Hey there :)
4
4
5
5
- Please read the instructions carefully before starting.
6
+
- Please make sure you read the deliverables section before submitting your assignment.
6
7
- The instructions below include the expected time of finishing this assignment. If you spend significantly more time than expected then please check if your implementation does more things than the assignment asks for.
7
8
- Please keep your solution as simple as possible! We are impressed by simple and elegant solutions.
8
9
- If something is not clear to you please do not hesitate to get in touch with us for clarifications. We'd love to help you out!
Copy file name to clipboardExpand all lines: back-end/code-review-exchange/assignment.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Notes:
14
14
An ad exchange is a platform which facilitates the buying and selling of ads in real time.
15
15
16
16
- On one side of the ad exchange we have the mobile apps which send requests to our exchange to sell their traffic.
17
-
- On the other side, the exchange communicates with bidders which submit their bids for the traffic if they are interested in buying it.
17
+
- On the other side, the exchange communicates with bidders which submit their bids for the traffic if they are interested in buying it. These bidders are 3rd party companies and the exchanges simply communicate with them via a predefined protocol.
18
18
19
19
The ad exchange receives the bids and the highest bidder wins the auction and gets to show their ad. The flow is summarized in the diagram below.
20
20
@@ -32,6 +32,7 @@ Notes:
32
32
33
33
- The requests to the bidders should be fired in parallel since the calls are independent and therefore we can avoid high latency.
34
34
- If a bid request to a certain bidder fails then the exchange should dismiss that bid and continue its flow with the rest of the bidders.
35
+
- The exchange should be able to facilitate an arbitrary number of bidder endpoints/connections in the future.
35
36
36
37
# Tasks
37
38
@@ -63,9 +64,13 @@ Please feel free to suggest anything you think that can be improved. There is no
63
64
- Go (Work in progress)
64
65
- PHP (Work in progress)
65
66
2. When you accept the assignment a new repo will be created which is the one you will be working on. You have admin rights so you can do anything you want. This repo contains a branch called ```feat/ad-exchnage``` which contains the code that you will review.
66
-
2. Click on the Pull Request tab and create a new Pull Request with base branch ```master``` and source branch ```feat/ad-exchange```. Use this Pull Request ONLY to add your code review comments.
67
+
2. Click on the Pull Request tab and create a new Pull Request with base branch ```master``` and source branch ```feat/ad-exchange```. Use this Pull Request ONLY to add your code review comments. If you are not familiar with Github's pull requests please check out [this link](https://help.github.com/articles/creating-a-pull-request/) to find out more.
67
68
3. Add your review comments in that Pull Request.
68
69
70
+
### How do I submit my code review comments?
71
+
72
+
Please use Github's code review tool to submit your code review comments. It's super easy to use but if you are not familiar with this tool please check out [this link](https://help.github.com/articles/reviewing-proposed-changes-in-a-pull-request/) to find out more.
73
+
69
74
## Task 2
70
75
71
76
Implement your suggested improvements and end-to-end test cases to check that the business requirements are satisfied.
@@ -74,9 +79,15 @@ Implement your suggested improvements and end-to-end test cases to check that th
74
79
- You are free to change whatever you want in the entire codebase. You can install any dependencies you might need. There is absolutely no limitation.
75
80
- The codebase already contains some (failing) test code and fixtures. Again you can change whatever needs to be changed to make the tests run and verify that the app works as expected. Install anything you need. Change anything you need.
76
81
- For your end-to-end test cases you will need to know how to communicate with the bidders. The API documentation for this purpose can be found [here](https://bidderapi.docs.apiary.io).
77
-
- Your new changes should be implemented in a separate Pull Request.
82
+
- Your new changes should be implemented in a separate Pull Request.
78
83
- There is no need to implement unit tests, just the end to end tests!
79
84
85
+
### Important note
86
+
87
+
The bidder urls used in the original code do not work since this is a hypothetical scenario. However, you can assume that these are the valid urls we want to use in production. In your tests you should try to mock these endpoints as you would do in any case.
88
+
89
+
Please do not use the mock url which is auto-generated by the Apiary documentation.
90
+
80
91
# Deliverables
81
92
82
93
At the end you should have TWO separate Pull Requests:
Copy file name to clipboardExpand all lines: front-end/code-review-bidders/assignment.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,13 @@ Please feel free to suggest anything you think that can be improved. There is no
60
60
-[React](https://classroom.github.com/a/sQOFY9lb)
61
61
- Angular (Work in progress)
62
62
2. When you accept the assignment a new repo will be created which is the one you will be working on. You have admin rights so you can do anything you want. This repo contains a branch called ```feat/view-bidders``` which contains the code that you will review.
63
-
2. Click on the Pull Request tab and create a new Pull Request with base branch ```master``` and source branch ```feat/view-bidders```. Use this Pull Request ONLY to add your code review comments.
63
+
2. Click on the Pull Request tab and create a new Pull Request with base branch ```master``` and source branch ```feat/view-bidders```. Use this Pull Request ONLY to add your code review comments. If you are not familiar with Github's pull requests please check out [this link](https://help.github.com/articles/creating-a-pull-request/) to find out more.
64
64
3. Add your review comments in that Pull Request.
65
65
66
+
### How do I submit my code review comments?
67
+
68
+
Please use Github's code review tool to submit your code review comments. It's super easy to use but if you are not familiar with this tool please check out [this link](https://help.github.com/articles/reviewing-proposed-changes-in-a-pull-request/) to find out more.
69
+
66
70
## Task 2
67
71
68
72
Implement your suggested improvements and end-to-end test cases to check that the business requirements are satisfied.
@@ -74,6 +78,12 @@ Implement your suggested improvements and end-to-end test cases to check that th
74
78
- Your new changes should be implemented in a separate Pull Request.
75
79
- There is no need to implement unit tests, just the end to end tests!
76
80
81
+
### Important note
82
+
83
+
The Bidder Management API url used in the original code does not work since this is a hypothetical scenario. However, you can assume that this is the valid url we want to use in production. In your tests you should try to mock that endpoint as you would do in any case.
84
+
85
+
Please do not use the mock url which is auto-generated by the Apiary documentation.
86
+
77
87
### Styleguide
78
88
79
89
If you need to implement styling please use the CSS styling already implemented in {{site.companyName}}'s [styleguide]({{page.styleguideUrl}}).
0 commit comments