simbathesailor / nodejs-express-server

A nodejs repo for learning and experimenting everything in nodejs, setup from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://stackoverflow.com/questions/38276862/is-there-a-way-to-use-npm-scripts-to-run-tsc-watch-nodemon-watch

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

https://medium.com/progress-on-ios-development/connecting-an-ec2-instance-with-a-godaddy-domain-e74ff190c233

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

https://medium.com/better-programming/containerize-node-react-postgres-with-docker-on-aws-ca548595f01e

https://www.youtube.com/watch?v=1PBcSzTbbjw

About

A nodejs repo for learning and experimenting everything in nodejs, setup from scratch


Languages

Language:TypeScript 87.2%Language:JavaScript 10.4%Language:HTML 1.0%Language:Dockerfile 0.6%Language:CSS 0.6%Language:Python 0.2%