Monthly Archives: January 2021

node security with @owasp & @risingstack #webdev


risingstack tutorials


see also

node mysql async await promise wrappers

node mysql promise wrappers

ES7 mysql async await

using mysql/promise should solve any stalled request errors

API resolved without sending a response for /api/users, this may result in stalled requests.

node test frameworks @cypress @jestjs @mochajs @supertest #qa #test

node gui test frameworks

node api test frameworks

create #graphql & #rest #apis with @vercel @nextjs @node in 10 mins #webdev

create #graphql & #rest #apis with @vercel @nextjs @node in 10 mins


vercel nextjs

curl result

$ curl 'http://localhost:3000/graphql' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'DNT: 1' -H 'Origin: http://localhost:3000' --data-binary '{"query":"{sayHello}"}' --compressed

{"data":{"sayHello":"Hello World!"}}

browser result

goog link #ads are dead #seo #webdev

goog link #ads are dead #seo #webdev

goog recommend that you remove fixed-size link ad units from your site and try out the following ad formats instead:
You can let Auto ads scan your site and automatically place ads where they’re likely to perform well. Learn more about how to get started with Auto ads.
Display ads work well anywhere on your site. Learn more about how to create a display ad unit.
•For a customised ad experience, you could try native ads. Learn more about how to create a native ad unit.
•If your site is eligible for Matched content, you can replace your link ad units with a customisable Matched content ad unit. Learn more about customising Matched content.