This project showcases the configuration and usage of Room within a Kotlin 2.0 Compose Multiplatform (KMP) application. It includes essential database operations such as inserting, deleting, and managing person entities. The goal is to demonstrate efficient database management and seamless integration in a multiplatform environment.
- Room Configuration: Set up and configure Room for database management in a KMP project.
- Database Operations: Perform basic CRUD operations, including:
- Inserting a person
- Deleting a person
- Updating person details
- Retrieving person information
Follow these steps to get started with the project:
- Kotlin 2.0
- Android Studio or IntelliJ IDEA
- Compose Multiplatform dependencies
-
Clone the repository:
git clone https://github.com/yourusername/kmp-room-compose.git
-
Open the project in your preferred IDE.
-
Sync the project with Gradle files to download the necessary dependencies.