https://github.com/tableflip/make-dat-lunch
p2p lunch rota
https://github.com/tableflip/make-dat-lunch
Last synced: 9 months ago
JSON representation
p2p lunch rota
- Host: GitHub
- URL: https://github.com/tableflip/make-dat-lunch
- Owner: tableflip
- Created: 2018-04-26T09:02:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-07T09:10:33.000Z (about 8 years ago)
- Last Synced: 2025-07-20T16:42:29.305Z (11 months ago)
- Language: JavaScript
- Size: 252 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MAKE DAT LUNCH (YO)
A p2p cooking rota
## Notes
membership dance
- Invite a user to follow you by sending them your dat address.
- They replicate your dat, and any members dats listed.
- They now have the complete world view of the data.
- They now create their own dat
- They are blocked from editing your group as their dat address is not in the members list.
- They send you a follow back request.
- You add their dat to the members list.
- GO GO GO.
This all assumes that everyones dats are being replicated by a makelunch-hashbase-alike service, so you can rely on dats being sync'd even when peers are unavailable.
## Dat
`/admins/*.json`
```js
{ dat: 'Hash1' }
```
`/eaters/*.json`
```js
{
id: `${now}`
name: String,
img: url
}
```
`/meals/*.json`
```js
{
date: isoDate
chef: [userId]
eaters: [userId]
guests: Integer
dish: String
}
```