Ionic Framework Data offline sync - node.js

I am Trying to get some data to show in an ionic application,my problem that i want to know how to be able to get the data online,and then save them when iam offline,so i can consult some of them.
Any proposed solution?

If your goal is to have a database on the phone that automatically syncs with an online database when the phone has signal then you should look at PouchDB and CouchDB. There is an excellent tutorial at https://www.joshmorony.com/offline-syncing-in-ionic-2-with-pouchdb-couchdb/ that you could read.

Related

How do I publish a report to Tableau/BI tool with React app

we have a react front-end which is connected to Express/Node.js back-end which itself relies on Neo4J database (because we need this kind of relation between data). The whole stack runs on AWS.
We would now like to interact with Tableau (we liked it, but we are open to other BI solutions if they are a better fit). The main goal is that the users of our web application will be able to create customizable reports and of course view them. They would only have access to their own data.
So my question are as follows:
Is it possible to interact with Tableau/other BI solution through some SDK in React/Express app in order to create reports and view them?
How could we make sure that a given user can only work with his data in the BI tool?
If there is a better and easier solution which will drive us to what we are trying to achieve we are opened to those ideas :)
Thanks in advance to all!

Best chatting framework for a flutter-node.js pair?

I am working on a flutter app with a node.js backend. I need to implement a real time chat service and also intend to store the chat data in mongodb database.The number of options I have considered are :
Websockets
Long polling
Third party services like pusher or pubnub(Both does n't have sdk for flutter
so any advice would be appreciated)
Firebase (Easy to implement with flutter but I am confused how should I store data on mongodb then ? Api rquest for every message ?)
I need a quick solution for the initial phase of the application but also need to think whether I can extend it later(With increase in users)
Thanks in Advance
Ankit, we're working on a flutter SDK at Ably, however it's not ready for prime time. Get in touch with the team if you're serious about this requirement as it's possible this work can be accelerated forwards.
Otherwise, check the list of Ably Realtime SDKs in a few months as you may find we have a Flutter SDK by then.
Good luck with your service.

Problems with the Google Places API AddPlaceRequest - Android Studio

I'm in the process of creating an application on Android Studio which allows a user to select a location on a map and add some details to that location - E.g. Select a football pitch and add some details to it such as 5 a side football match on Sunday at 12 o'clock.
Once these details are saved that location is saved onto the map along with those details.
I've decided to use the Google Places API as it has the AddPlace feature. Instead of adding a business to the map like the API was intended for, I want to tweak it so it can add an event instead.
However, the example found here at:
https://developers.google.com/places/android-api/add-place
Does not work in my application.
Here are the screenshots:
Code Snippet
Any help would be greatly appreciated - Thank you
G
The Add A Place function of the Places API isn't a good fit for what you're trying to do. Add Place is designed to allow users to add places that don't currently exist in Google Maps' database. It sounds like what you want to do is attach some metadata to a place that has meaning only to your app.
So, you'll need some persistent server storage for this metadata. There are lots of ways to do this but you might want to look at Firebase Realtime Database as a solution.
Also, from the screenshot, it looks like your error comes from not having defined mGoogleApiClient in in your app.
When you want to make a connection to one of the Google APIs provided in the Google Play services library (such as Google Sign-In, Games, or Drive), you need to create an instance of GoogleApiClient ("Google API Client"). See here: https://developers.google.com/android/guides/api-client

DB management Framework for insert and update using forms

After parsing a web site I end up with a data set that needs to be read and updated by a human. I can potentially save the data to any DB but I prefer mongoDB. To read and update the data I can reinvent the wheel and develop a Rest API in node, that uses the mongoDB driver and then develop a front end client with an html form for the user to read and update each document, but since it is 2017, is it there a complete framework that facilitates all this work? or do I need to go nodejs+express+mongo+Rest Client+custom html?
Your use case seems to be too specific that there would actually be a complete solution somewhere. I think you will have to build it yourself.
If you can speicify more information about what the data is like and what needs to be done with it, it might be helpful.

How to get started with SQLite, iCloud and CoreData?

I am trying to follow Apple's Using the Sqlite Store with iCloud to add CoreData sharing between devices. I'm on an outdated manual (2014-07-15) which, on page 8-9 shows how to enable iCloud in an existing app; however, the example is for documents, not for SQLite and when trying to enable for SQLite, the images are not up to date with XCode 6.
Can someone please tell me what I'm supposed to use (code-wise) to get this started?
I found my answer here:
http://www.techotopia.com/index.php/Preparing_an_iOS_6_App_to_use_iCloud_Storage
It goes step-by-step to configure an app for using iCloud on multiple devices.

Resources