-
Set the content security policies to only allow loading of scripts and CSS from your server.
-
I can GET /api/stock-prices with form data containing a Nasdaq stock ticker and receive back an object stockData.
-
In stockData, I can see the stock (the ticker as a string), price (decimal in string format), and likes (int).
-
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.
-
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.
-
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
-
All 5 functional tests are complete and passing.
-
Notifications
You must be signed in to change notification settings - Fork 0
Information Security Project #1 - Stock Price Checker.
kelvinsanchez15/stock-price-checker
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Information Security Project #1 - Stock Price Checker.