* feat: update backend project links Replace solution and remix Glitch links with equivalent Repl.it links in backend projects/challenges and intro pages. * fix: link and Repl.it casing * fix: update mention of glitch in testing challenge * Apply suggestions from code review Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2.8 KiB
2.8 KiB
id, title, challengeType, isHidden, isRequired, forumTopicId
id | title | challengeType | isHidden | isRequired | forumTopicId |
---|---|---|---|---|---|
587d824a367417b2b2512c44 | Stock Price Checker | 4 | false | true | 301572 |
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 (the ticker as a string), 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 information about both stocks. 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 prices is through our stock price proxy (replacing ''GOOG'' with your stock symbol): https://stock-price-checker-proxy--freecodecamp.repl.co/v1/stock/GOOG/quote'
testString: ''
- text: All 5 functional tests are complete and passing.
testString: ''
Challenge Seed
Solution
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/