LBRY Block Explorer

LBRY Claims • cors-explained-part-2-intermediate-level

d1f7df47483c554b306eef8c6ff603d1e9f509ec

Published By
Anonymous
Created On
31 Mar 2023 23:50:24 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
CORS Explained Part 2 - Intermediate Level
Timestamps:<br />0:00 - Intro<br />0:54 - Summary of previous CORS video<br />2:10 - Drawbacks with earlier solutions<br />3:08 - Explain the solution to be programmed in this video<br />3:49 - Data Flow <br />4:49 - Create the Intermediate server<br />6:06 - Explain the modules that we need to install for Intermediate Server<br />6:44 - Get going with the installation of required modules.<br />9:11 - Create the index.js file to write the server code.<br />11:42 - Create routes/paths for each api on the intermediate server<br />14:29 - Code to call Binance api on the intermediate server getExchangeInfo path<br />17:37 - Explain the code using the flow chart<br />18:08 - Discuss about headers in Network tab on browser.<br />19:28 - Code to add CORS Header<br />22:00 - Client side code<br />27:02 - Quick summary of the code and flowchart together<br />27:50 - Calculate the lag associated with the Intermediate Server<br />30:50 - Handling APIs with parameters<br /><br />CORS Part 1 : <a href="https://www.youtube.com/watch?v=HgdAwvt2vSs&t=432s" target="_blank" rel="nofollow">https://www.youtube.com/watch?v=HgdAwvt2vSs&t=432s</a><br />Code:<a href="https://github.com/karthik947/CORS-Explained---Part-2" target="_blank" rel="nofollow">https://github.com/karthik947/CORS-Explained---Part-2</a><br />NPM Modules Installed:<br /><a href="https://www.npmjs.com/package/express" target="_blank" rel="nofollow">https://www.npmjs.com/package/express</a><br /><a href="https://www.npmjs.com/package/request-promise" target="_blank" rel="nofollow">https://www.npmjs.com/package/request-promise</a><br /><a href="https://www.npmjs.com/package/cors" target="_blank" rel="nofollow">https://www.npmjs.com/package/cors</a><br />Binance API Documentation: <a href="https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md" target="_blank" rel="nofollow">https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md</a><br />NodeJS URL: <a href="https://nodejs.org/dist/latest-v8.x/docs/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost" target="_blank" rel="nofollow">https://nodejs.org/dist/latest-v8.x/docs/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost</a><br /><br />Disclaimer: I am not a financial advisor nor is any content in this article presented as financial advice. The information provided in this post or any other posts that I make and any accompanying material is for educational purposes only. It should not be considered financial or investment advice of any kind. Use these tools at your own risk.<br />...<br /><a href="https://www.youtube.com/watch?v=R98rmaRkgy8" target="_blank" rel="nofollow">https://www.youtube.com/watch?v=R98rmaRkgy8</a>
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY