http://ift.tt/2h3Q4rb
Submitted July 28, 2017 at 03:44PM by speckz
Friday, 28 July 2017
Keep getting 404 not found when trying to link external JS file.
I have a JS file with the structure like so:- main folder ... - node_modules - views ---pages (folder) ---partials (folder) ---script.js ... In my .ejs file I try to use this .js file like so:I keep getting this error:GET http://localhost:1337/views/script.js 404 (Not Found) I also have this set in my app.jsapp.set('/views', express.static(path.join(__dirname, '/views'))); app.set('view engine', 'ejs');
Submitted July 28, 2017 at 12:39PM by farhansyed7911
Submitted July 28, 2017 at 12:39PM by farhansyed7911
passport.js authentication with only social accounts (no local)
hello,i'm trying to build a web site that only allowing login with facebook and twitter. so there is no local registration with email or username.the thing confuses me is linking between users' social accounts. i mean the user can use any of his/her twitter or facebook account for login and web site will know these accounts are both the same persons accounts if linked before.can someone show me the way to accomplish this right. thanks.
Submitted July 28, 2017 at 10:54AM by ozzaa
Submitted July 28, 2017 at 10:54AM by ozzaa
02-Modules in Node js
https://www.youtube.com/attribution_link?a=W23B2IMumLo&u=%2Fwatch%3Fv%3D7ttwNVmSi04%26feature%3Dshare
Submitted July 28, 2017 at 11:02AM by sunlight4d
Submitted July 28, 2017 at 11:02AM by sunlight4d
🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda
http://ift.tt/2uYe3O1
Submitted July 28, 2017 at 10:08AM by ratancs
Submitted July 28, 2017 at 10:08AM by ratancs
Apollo Server 1.0 — A GraphQL server for all Node.js frameworks
http://ift.tt/2u6Vd6e
Submitted July 28, 2017 at 10:04AM by r-wabbit
Submitted July 28, 2017 at 10:04AM by r-wabbit
What you can do with npx, the new cli tool from npm
https://youtu.be/55WaAoZV_tQ
Submitted July 28, 2017 at 08:03AM by NoGodOnlyCuteness
Submitted July 28, 2017 at 08:03AM by NoGodOnlyCuteness
Subscribe to:
Posts (Atom)