# audiolib.vue3

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

## Library configuration
lib/authors.json - Authors info

file format:
```
[
    {
        "author": "Author 1 name",
        "books": "lib/Author 1 name/books.json",
        "image": "lib/Author 1 name/photo.png"
    },
    ...
    {
        "author": "Author N name",
        "books": "lib/Author N name/books.json",
        "image": "lib/Author N name/photo.png"
    }
]
```

lib/Author name/books.json - Books info

file format:
```
[
    {
        "cycle": "Books cycle",
        "title": "Book 1 title",
        "image": "lib/Author name/Book 1 title/cover.jpg",
        "book": "lib/Author name/Book 1 title/book.json"
    },
    ...
    {
        "cycle": "Books cycle",
        "title": "Book N title",
        "image": "lib/Author name/Book N title/cover.jpg",
        "book": "lib/Author name/Book N title/book.json"
    }
]
```

lib/Author name/Book title/book.json - Book info

file format:
```
[
    {
        "book": "lib/Author name/Book title/chapter1.mp3",
        "title": "Chapter 1 title"
    },
    ...
    {
        "book": "lib/Author name/Book title/chapterN.mp3",
        "title": "Chapter N title"
    }
]
```
