Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSB! Make lunch decentralised. #57

Open
olizilla opened this issue Nov 10, 2017 · 0 comments
Open

SSB! Make lunch decentralised. #57

olizilla opened this issue Nov 10, 2017 · 0 comments

Comments

@olizilla
Copy link
Member

What would need to happen to make this app work on secure-scuttlebutt? We already see things as a log of meals that we derive stats from, so the jump isn't so far, and the win is we can let everyone use the app without centralising the hosting costs on us.

We've got:

Meals

{ 
  date: isoDate, 
  chef: [userId], 
  eaters: [userId], 
  guests: Integer, 
  dish: String
}

Eaters

{
  name: String,
  img: url,
  servings: {
    given: Integer,
    received: Integer
  }
  mealsCooked: Interger,
  lastCooked: isoDate,
  lastEaten: isoDate
}

And the stats on an Eater are derived using the meals they were ate or cooked. An Eater is not necesserily a user. Many people can't be bothered to log meals, and you can get a long way with just one user logging all the meals for their group. That said, every participant should be able to.

We'd like to allow mulitple groups to exist. Scores within a group won't affect other groups. This is an interesting decision point, and we can revisit it later, but that's the plan for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant