kerusey / CoffeeBreaker

Why do we still need a Barista to have a cup of coffee ☕?
MIT License
9 stars 2 forks source link

Coffee Bar's locations #65

Closed syorito-hatsuki closed 4 years ago

syorito-hatsuki commented 4 years ago

Add json to server, with information like below

{
  "CoffeeBreaker": {
    "x": 46.4629101,
    "y": 122.2449094,
    "id": 5
  },
  "CoffeeBar": {
    "x": 37.4629101,
    "y": -122.2449094,
    "id": 3
  }
}

And create script for simplify add new places

kerusey commented 4 years ago

GO DRINK VODKA IN YOUR BAR

syorito-hatsuki commented 4 years ago

GO DRINK VODKA IN YOUR BAR

ONLY 0% BEAR

kerusey commented 4 years ago
{
    "CoffeeBreaker": {
        "x": "14.6",
        "y": "15.5",
        "id": "5"
    },
    "CoffeeBar": {
        "x": "14.4",
        "y": "15.9",
        "id": "3"
    }
}
syorito-hatsuki commented 4 years ago
{
    "CoffeeBreaker": {
        "x": "14.6",
        "y": "15.5",
        "id": "5"
    },
    "CoffeeBar": {
        "x": "14.4",
        "y": "15.9",
        "id": "3"
    }
}

Updated example

kerusey commented 4 years ago
{
    "CoffeeBreaker": {
        "x": 14.6,
        "y": 15.5,
        "id": 5
    },
    "CoffeeBar": {
        "x": 14.6,
        "y": 15.5,
        "id": 5
    }
}
kerusey commented 4 years ago

Work's done