https://github.com/sloev/pragmatic-web-development
https://github.com/sloev/pragmatic-web-development
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sloev/pragmatic-web-development
- Owner: sloev
- Created: 2023-09-14T07:26:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-06T13:08:39.000Z (over 2 years ago)
- Last Synced: 2025-06-08T10:42:15.234Z (about 1 year ago)
- Language: JavaScript
- Size: 17.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
local webserver exposed to internet via cloudflare tunnel
njal.la or similar domain redirect to tunnel port
cloudflared tunnel --url http://localhost:8080
cloudflared tunnel --no-autoupdate --metrics localhost:55567 --url http://localhost:5000
cloudflared tunnel login
1442* curl -vvv 'https://endorsed-settlement-geological-utc.trycloudflare.com'
1443 cloudflared tunnel create trashburoearth
1446 cloudflared tunnel route dns trashburoearth trash.buro.earth
1448 code ~/.cloudflared/config.yml
1449 cloudflared tunnel list
1450 cloudflared tunnel run trashburoearth
tech:
vue til layout
geohash til coordinate lookups by proximity
gunddb til datalag
nodejs server til persistence
schemas
user: {
name,
password
}
heap: {
created_by_user (not editable),
image,
tags: [],
secret_delete_hash (hash of secret number, used to delete heap),
suplied_delete_numbers (numbers provided by user to mark something taken)
}
heap_delete_attemp: {
heap_id,
created_by_user_id,
suplied_number,
}
heap_message : {
heap_id,
created_by_user_id,
message
}
check https://gun.eco/docs/RAD#lex for hvordan man kan glemme "gamle data"