svs / covid19-supply-chain-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability for a user to create a report of essential goods in a location

anew-bhav opened this issue · comments

Copying from https://github.com/svs/covid19-supply-chain/issues/1

An essentials report has the following data in it.

- username
- location (google maps location)
- type. one of
    - retail
    - wholesale
    - transport
- items
  - hashtag (ie #potatoes, #dairy...we will have a list and also add more from user submissions)
  - availability (0 - run out, 1 - critically low, 2 - moderat, 3 - abundant)

Actually wouldn't it be easier to just upload photos?

We can get the location off the EXIF and the photo says a lot more. User can tag the photo with "Staples", "Veggies", "Dairy", etc.

What say?

This is why we need the frontend wireframes first.

Didn't know about the metadata that gets stored in the images is called EXIF. Good to know it now. EXIF info can be a good way to extract lat lang info. Some people may turn off location on clicked photos, which can be a bummer there.

At the backend, we still need to have columns where we store these details.