My Blog's API Server: https://portfolioapi.joshbacon.name
- Custom Comment System
- User Accounts
- User Authentication & Authorization
- Notifications
The lib: cryptoUtil.js The script: crypt.sh
bash ./script/crypt.sh --help
- My configs files are encrypted, configs-development.json & configs-production.json, so I can version in Git
- Encrypt Configs
bash scripts/crypt.sh --password "${TECH_HUB_PORTFOLIO_CONFIG_PASSWORD}" encrypt --text "$(cat configs-development.json | base64)" > configs-development.txt
- Decrypt Configs
bash scripts/crypt.sh --password "${TECH_HUB_PORTFOLIO_CONFIG_PASSWORD}" decrypt --text "$(cat configs-development.txt)" | base64 --decode > configs-development.json