Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/MyUNiDAYS/couchbaselite-kotlin-sdk

A Kotlin Multiplatform Wrapper of Couchbase
https://github.com/MyUNiDAYS/couchbaselite-kotlin-sdk

Last synced: 2 months ago
JSON representation

A Kotlin Multiplatform Wrapper of Couchbase

Awesome Lists containing this project

README

        

Couchbase Lite Kotlin SDK
GitHub last commit

A Kotlin Multiplatform wrapper for Couchbase Lite

## Installation

```
implementation("com.myunidays:couchbaselite:0.1.1")
```

## How to use

### KMM

The api is based on the android sdk, I would recommend you use https://docs.couchbase.com/couchbase-lite/current/android/quickstart.html as the main point of reference.

```kotlin
CouchbaseLite.init(context = context, logLevel= LogLevel.VERBOSE) //initialise for android use Context for ios use null or NSBundle
val database = Database(dbName)
val collection = database.createCollection(collName)
```

## Contributing

This project is set up as an open source project. As such, if there are any suggestions that you have for features, for improving the code itself, or you have come across any problems; you can raise them and/or suggest changes in implementation.

If you are interested in contributing to this codebase, please follow the contributing guidelines. This contains guides on both contributing directly and raising feature requests or bug reports. Please adhere to our code of conduct when doing any of the above.