This book-store-dev project is a wearable watch application built for HarmonyOS NEXT wearable devices, developed using ArkTS, designed to help users manage and explore their personal books collection.
The following are the application's featured use cases:
- The user can see the splash page
- The user can see a menu for Book of the day, Books, and Games
- The user can see a list of Books(title, page count, description, category, image) that comes from Google Books API
- The user can see details of books
- The user can see a book of the day
- The user can play with the Games button to catch the button
- Languages: ArkTS
- Frameworks: HarmonyOS SDK 5.1.0(18)
- Tools: DevEco Studio Vers 5.1.0.842
- Libraries: @kit.ArkUI, @kit.RemoteCommunicationKit
This project uses the Google Books API. The API key is not included in the repository.
Open entry/src/main/resources/base/element/string.json and set the api_key value:
{
"name": "api_key",
"value": "YOUR_GOOGLE_BOOKS_API_KEY_HERE"
}The project structure is as follows:
entry/src/main/ets/
|---component
|---|---BookCardComponent
|---|---BookDetailCard
|---model
|---|---BookModel
|---|---BookService
|---|---ImagesModel
|---|---RSPModel
|---|---volModel
|---|---VolumeInfoModel
|---pages
|---|---BookDetailPage
|---|---BookOfDayPage
|---|---BooksPage
|---|---HomePage
|---|---Index
|---utils
|---|---Constants
|---|---RCP
|---viewmodel
|---|---BookViewModel
|---|---HomeViewModel
|---entryability
|---|---EntryAbility
|---entrybackupability
|---|---EntryBackupAbility
- Huawei Watch 5
- ohos.permission.INTERNET
BookStore is distributed under the terms of the MIT License See the LICENSE for more information.



