https://github.com/baslr/learnings
https://github.com/baslr/learnings
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/baslr/learnings
- Owner: baslr
- Created: 2021-04-24T16:34:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-24T17:18:46.000Z (about 5 years ago)
- Last Synced: 2025-10-05T00:01:02.583Z (9 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learnings
* use `//@ts-check`
* use `await` instead of `Promises.then()`
* use one tick or double ticks
* use typescript for tooling
* use central logging facility
* use `const` instead of `let`
* use `npm audit`
* create tests
* have a local dev environment
* spaces or tabs
* use binary to store binary data in a database
* use numeric keys in a database
* optimize database for a computer not for a human
* use public key authentication
* have a backup
* check that your request module reuses the connection
* use a vpn
* use branches
* use sane commit messages
* use tags to mark versions
* debugability
* use consistent wording
* check your database configuration
* close all ports via firewall
*