2.2 KiB
2.2 KiB
id | title | challengeType | isRequired |
---|---|---|---|
587d824a367417b2b2512c44 | Stock Price Checker | 4 | true |
Description
Instructions
Tests
tests:
- text: Set the content security policies to only allow loading of scripts and css from your server.
testString: ''
- text: I can GET /api/stock-prices with form data containing a Nasdaq stock ticker and receive back an object stockData.
testString: ''
- text: In stockData, I can see the stock(string, the ticker), price(decimal in string format), and likes(int).
testString: ''
- text: I can also pass along field like as true(boolean) to have my like added to the stock(s). Only 1 like per ip should be accepted.
testString: ''
- text: If I pass along 2 stocks, the return object will be an array with both stock's info. Instead of likes, it will display rel_likes(the difference between the likes on both stocks) on both.
testString: ''
- text: 'A good way to receive current price is the following external API(replacing ''GOOG'' with your stock): https://finance.google.com/finance/info?q=NASDAQ%3aGOOG'
testString: ''
- text: All 5 functional tests are complete and passing.
testString: ''
Challenge Seed
Solution
// solution required