[ 
https://issues.apache.org/jira/browse/FINCN-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmad Jawid Muhammadi updated FINCN-238:
----------------------------------------
    Description: 
*What is Couchbase?*

Couchbase Mobile is the complete NoSQL database solution for all data storage, 
access, sync, and security across the entire application stack. It includes an 
Embedded database, Rest API, and Synchronization. 

*How it is implemented in FCN Mobile?*

I added a _+String+_ variable named "{color:#00875a}+documentType+{color}" in 
two Data Classes like:
{code:java}
String documentType = "Group"{code}
and
{code:java}
String documentType = "Customer"{code}
As I described above Couchbase database stores all data models as a JSON so to 
query data from the client-side and convert the retrieved JSON files to the 
data models (Kotlin data classes), we need to know the exact class type of each 
file.   Please take a look at the attached screenshot to see how data are being 
stored in Coucbase Server locally

*The required change in Fineract CN:*
 * In order to sync data between the Mobile app and Fineract Server, developers 
need to add a variable named +{color:#00875a}documentType{color}+ in all data 
classes when integrating *Couchbase* and *Sync Gateway* in Fineract 
CN.{color:#172b4d} {color}
 * For install and configuring Coucbhase in local machines follow 
[this|https://gist.github.com/jawidMuhammadi/af6cd34058cacf20b100d335639b3ad] 
instruction.
 * Click [here|https://github.com/apache/fineract-cn-mobile/pull/111] to review 
the pull request of CouchbaseLite implementation in [Fineract CN 
Mobile|https://github.com/apache/fineract-cn-mobile]

 

  was:
*What is Couchbase?*

Couchbase Mobile is the complete NoSQL database solution for all data storage, 
access, sync, and security across the entire application stack. It includes an 
Embedded database, Rest API, and Synchronization. 

*How it is implemented in FCN Mobile?*

I added a _+String+_ variable named "{color:#00875a}+documentType+{color}" in 
two Data Classes like:
{code:java}
String documentType = "Group"{code}
and
{code:java}
String documentType = "Customer"{code}
As I described above Couchbase database stores all data models as a JSON so to 
query data from the client-side and convert the retrieved JSON files to the 
data models (Kotlin data classes), we need to know the exact class type of each 
file.   Please take a look at the attached screenshot to see how data are being 
saved in Coucbase Server locally

*The required change in Fineract CN:*
 * In order to sync data between the Mobile app and Fineract Server, developers 
need to add a variable named +{color:#00875a}documentType{color}+ in all data 
classes when integrating *Couchbase* and *Sync Gateway* in Fineract 
CN.{color:#172b4d} {color}
 * For install and configuring Coucbhase in local machines follow 
[this|https://gist.github.com/jawidMuhammadi/af6cd34058cacf20b100d335639b3ad] 
instruction.
 * Click [here|https://github.com/apache/fineract-cn-mobile/pull/111] to review 
the pull request of CouchbaseLite implementation in [Fineract CN 
Mobile|https://github.com/apache/fineract-cn-mobile]

 


> Couchbase integration in Fineract CN Mobile & required changes in Fineract CN
> -----------------------------------------------------------------------------
>
>                 Key: FINCN-238
>                 URL: https://issues.apache.org/jira/browse/FINCN-238
>             Project: Fineract Cloud Native
>          Issue Type: New Feature
>          Components: fineract-cn-api
>            Reporter: Ahmad Jawid Muhammadi
>            Priority: Major
>              Labels: Couchbase, fineract, gsoc2020
>         Attachments: rsz_screenshot_from_2020-08-22_22-12-56.png, 
> rsz_screenshot_from_2020-08-23_01-52-41.png
>
>
> *What is Couchbase?*
> Couchbase Mobile is the complete NoSQL database solution for all data 
> storage, access, sync, and security across the entire application stack. It 
> includes an Embedded database, Rest API, and Synchronization. 
> *How it is implemented in FCN Mobile?*
> I added a _+String+_ variable named "{color:#00875a}+documentType+{color}" in 
> two Data Classes like:
> {code:java}
> String documentType = "Group"{code}
> and
> {code:java}
> String documentType = "Customer"{code}
> As I described above Couchbase database stores all data models as a JSON so 
> to query data from the client-side and convert the retrieved JSON files to 
> the data models (Kotlin data classes), we need to know the exact class type 
> of each file.   Please take a look at the attached screenshot to see how data 
> are being stored in Coucbase Server locally
> *The required change in Fineract CN:*
>  * In order to sync data between the Mobile app and Fineract Server, 
> developers need to add a variable named +{color:#00875a}documentType{color}+ 
> in all data classes when integrating *Couchbase* and *Sync Gateway* in 
> Fineract CN.{color:#172b4d} {color}
>  * For install and configuring Coucbhase in local machines follow 
> [this|https://gist.github.com/jawidMuhammadi/af6cd34058cacf20b100d335639b3ad] 
> instruction.
>  * Click [here|https://github.com/apache/fineract-cn-mobile/pull/111] to 
> review the pull request of CouchbaseLite implementation in [Fineract CN 
> Mobile|https://github.com/apache/fineract-cn-mobile]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to