58 lines
552 B
Markdown
58 lines
552 B
Markdown
```plantuml
|
|
@startuml
|
|
object location {
|
|
address
|
|
phone
|
|
id
|
|
}
|
|
|
|
object whisky {
|
|
label
|
|
price
|
|
average[52] : statewide average count per week
|
|
id
|
|
location[] --> location : count
|
|
}
|
|
|
|
object client
|
|
object server
|
|
|
|
object user {
|
|
location
|
|
radius
|
|
whisky[]
|
|
}
|
|
user --> whisky : monitor
|
|
|
|
@enduml
|
|
```
|
|
|
|
# Whisky Business
|
|
|
|
Launch GraphQL server:
|
|
|
|
```bash
|
|
npm start
|
|
```
|
|
|
|
Refresh the OLCC DB:
|
|
>>>>>>> Update steps
|
|
|
|
```bash
|
|
node whisky.js
|
|
```
|
|
|
|
Refresh the OLCC DB:
|
|
|
|
```bash
|
|
node whisky.js
|
|
```
|
|
|
|
Launch website:
|
|
|
|
```bash
|
|
cd whisky-business
|
|
npm start
|
|
```
|
|
|