How to create separate handler for services for communicate the local Sqlitedb in nativescript?


Like in web app development, I have planned to create handler for handling request from services to communicate(CRUD operations) with local Sqlite db. For this how should i achieve? I am fresh for nativescript development. Suggest me with suitable Idea/solution.

My work environment - Nativescript with angular2

Thanks in advance.