Home > Software engineering >  How to Cloud Database Cross-platform apps?
How to Cloud Database Cross-platform apps?

Time:11-27

I need some tips, something to give me a way or to brighten my mind. My app idea is a Recipe's Book app. But I imagine the following scenario: user writes recipes in PC (desktop app), and then, when going to cook, at the kitchen, read/ edit the recipes on the Mobile version. Aka the app do the same things in both platforms. The app is simple, basically the data will be text. But my problem is: I only knew how to develop native apps, both mobile or desktop, with local database. Recently I've been developing on xamarin. I'm doing well at it, but My question is: how am I going to share this database? I would need it to be on cloud, right? So how could I be doing that? I just want to understand, not how exactly to do it, but now I dont have a clue on how to do that. And if you have a better platform to develop this idea, I accept tips

CodePudding user response:

According to your situation I can advice you to use Firebase Real Time Database, it has all the functionality you want of updating data in real time and fetch it also faster and implementing it is not hard as you need to configure it in your project environment I can refer you to this Page to learn more about firebase , in case you want to refer to their documentation check here.

CodePudding user response:

You need Two thinks

  1. Database
  2. API the database is to store the data and the api is the way your differnt apps will exchage the data with the api

API in a nutshell

For example : the Desktop will talk to the api to add a Recipe to the data base and form the other side the Mobile App will ask the api to get that Recipe

I advice you to start with MongoDB(free tier) and Express it's the fastest way to get started

  • Related