Experimenting everything in nodejs
http://expressjs.com/en/starter/generator.html
Converted to typescript:
https://www.typescriptlang.org/docs/handbook/compiler-options.html
DEBUG=* yarn run start // for debug logs. This is happening due to `debug` npm package
NODEjs best practices:
https://github.com/goldbergyoni/nodebestpractices
CSS
https://github.com/AllThingsSmitty/css-protips#use-unset-instead-of-resetting-all-properties
Streaming article:
https://medium.com/better-programming/video-stream-with-node-js-and-html5-320b3191a6b6
https://nodejs.dev/learn/introduction-to-nodejs
Caching:
http://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#cache_validation
Sql queries
select * from public.user_table;
CREATE EXTENSION "uuid-ossp";
ALTER TABLE public.user_table ALTER COLUMN user_id SET DATA TYPE uuid USING (uuid_generate_v4());
https://stackify.com/node-js-debugging-tips/
https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
https://github.com/goldbergyoni/nodebestpractices/blob/master/sections/security/escape-output.md