Bookbox is a decentralized book library application for Android, designed to facilitate reading, publishing, and maintaining royalties as NFTs (Non-Fungible Tokens). Leveraging blockchain technology, Bookbox ensures transparency, security, and fairness in the book publishing ecosystem.
- Decentralized Library: Access a wide range of books in a decentralized manner.
- NFT Royalties: Authors can publish books and receive royalties as NFTs.
- User Authentication: Secure user authentication and account management.
- Book Search: Efficient search functionality to find books quickly.
- Reading Experience: Seamless reading experience with customizable settings.
- Blockchain Integration: Integration with blockchain for secure and transparent transactions.
- Real-time Updates: Real-time data updates using Firestore.
- Frontend: Jetpack Compose
- Architecture: MVVM (Model-View-ViewModel)
- Backend: Spring Boot
- Database: MongoDB
- Blockchain: Solana
- Other Libraries:
- Kotlin Coroutines
- Firebase Firestore
- Retrofit
- Coil for image loading
- Dagger Hilt for dependency injection
The Bookbox app follows the MVVM architecture pattern, ensuring a clean separation of concerns and a maintainable codebase.
- Model: Manages the data and business logic of the app.
- View: Represents the UI components and handles user interaction.
- ViewModel: Acts as a mediator between the Model and the View, managing UI-related data in a lifecycle-conscious way.
- User Interaction: User interacts with the UI.
- ViewModel: ViewModel processes the user input and updates the data.
- Model: Model retrieves/stores data from/to the database or network.
- ViewModel: ViewModel updates the UI state.
- UI Update: View reflects the changes in the UI.
To run the Bookbox app locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/your-username/bookbox.git
-
Open the Project: Open the project in Android Studio.
-
Set Up Firebase:
- Add your
google-services.json
file in theapp
directory. - Configure Firebase Firestore in your Firebase project.
- Add your
-
Build the Project: Sync and build the project in Android Studio.
-
Run the App: Run the app on an emulator or a physical device.
- Sign Up/Login: Create an account or log in with your existing credentials.
- Browse Books: Explore the library and find books of your interest.
- Read Books: Start reading books with a seamless and customizable reading experience.
- Publish Books: Authors can publish their books and manage royalties as NFTs.
We welcome contributions from the community! If you'd like to contribute, please follow these steps:
- Fork the Repository: Click on the 'Fork' button at the top right corner of the repository page.
- Clone Your Fork:
git clone https://github.com/your-username/bookbox.git
- Create a Branch:
git checkout -b feature-branch
- Make Your Changes: Implement your changes and commit them with a meaningful message.
- Push to Your Branch:
git push origin feature-branch
- Create a Pull Request: Open a pull request from your forked repository to the main repository.
This project is licensed under the MIT License. See the LICENSE file for more details.
Feel free to reach out if you have any questions or need further assistance!
Happy Coding!