https://mentorcruise.com/learn/zipping-and-unzipping-files-nodejs/
Submitted March 02, 2019 at 10:19AM by dobkin-1970
Saturday, 2 March 2019
Friday, 1 March 2019
Special offer The Complete Node.js Developer Course (2nd Edition) 88% off
https://twitter.com/backe_f/status/1101410070003236865
Submitted March 02, 2019 at 03:04AM by ArlineChamplin
Submitted March 02, 2019 at 03:04AM by ArlineChamplin
How to deal with (PITA) OAUTH2 with 3rd Party Site, what are you doing?
I’m working in node.js due to upstream requirements, having trouble understanding the best way to handle OAUTH2. I know there are many here who may have solved this and to my dismay, I have the entire app working save this pesky auth issue.My application has no user interaction after initial account linking, it does not use a web browser.Once I have the initial token (and refresh token) is the strategy to just refresh the token when any subsequent API call is made? — What is best practice, do you manage the timeout and only request a new token when it’s nearing expiry, or just request a refresh every time you make an API call.To illustrate, Strava, https://developers.strava.com/docs/authentication/. as an example, provides tokens with 6 hour timeouts, pretty common.I’ve seen much of the info on the web and still have these questions so please don’t send me google links I’ve seen them. I presume I can use passport, lots of folks seem to, but I am not building a web app, so no need for express.If this is the correct strategy (refreshing with every call), I would be grateful to see some real production code that:A) executes the initial request and provides the access/refresh tokens (in node.js)B) makes the refresh token call which I can use when making API calls.How are you doing this in the wild?
Submitted March 02, 2019 at 03:59AM by Jacksonp2008
Submitted March 02, 2019 at 03:59AM by Jacksonp2008
Direct uploads to AWS S3 from the browser (crazy performance boost)
https://softwareontheroad.com/2019-03-01-s3-direct-browser-upload
Submitted March 01, 2019 at 11:46PM by santypk4
Submitted March 01, 2019 at 11:46PM by santypk4
Graphql Multiple Schema Manager (On the fly)
Hello,I'm interested to understand how this cms is managing to create custom schemas on the fly: graphcms.comIt allows to create your models, and then you can access your schema and query it like a normal project.Is someone brave enough to explain me how was this made?
Submitted March 01, 2019 at 10:46PM by josepgomes
Submitted March 01, 2019 at 10:46PM by josepgomes
Performant way to load a large dataset from a database
I have a dataset of about 72Mb. I have to simultaneously show this data on an interactive map. Is it possible to load this data from my database (right now Mongo; thinking about using Firebase also)? The only thing I could think of right now is to make the dataset retrieval asynchronous, and asynchronously load it into the client.I hope I worded this right.
Submitted March 01, 2019 at 08:44PM by sammyalhashemi
Submitted March 01, 2019 at 08:44PM by sammyalhashemi
Build a Simple REST API with Node and OAuth 2.0
http://on.geeklearn.net/bb41bda621
Submitted March 01, 2019 at 05:08PM by Jewell980
Submitted March 01, 2019 at 05:08PM by Jewell980
Subscribe to:
Posts (Atom)