https://github.com/simbathesailor/nodejs-express-server
A nodejs repo for learning and experimenting everything in nodejs, setup from scratch
https://github.com/simbathesailor/nodejs-express-server
Last synced: 3 months ago
JSON representation
A nodejs repo for learning and experimenting everything in nodejs, setup from scratch
- Host: GitHub
- URL: https://github.com/simbathesailor/nodejs-express-server
- Owner: simbathesailor
- Created: 2020-12-19T15:47:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T15:02:03.000Z (over 4 years ago)
- Last Synced: 2025-01-05T17:09:44.736Z (5 months ago)
- Language: TypeScript
- Size: 25.4 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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