# Which is the right database to use?

**URL:** https://community.thunkable.com/t/which-is-the-right-database-to-use/564286
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [April 28, 2020, 4:44pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286 "2020-04-28T16:44:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jbonet007](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jbonet007](https://community.thunkable.com/u/jbonet007)
#### Post date: [April 28, 2020, 4:44pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/1 "2020-04-28T16:44:36Z")

</div>

Hi, I have no idea of which database is best for my idea, and also I have no clue about how to work on databases =(, so before starting to learn about that, I want to be sure which type I should use: Airtable, Realtime DB by Firebase, others?

This is what I want to achieve with the app:  
User A sends a numerical value to user B.  
User B receives confirmation of the value received from user A.  
Both users can see a balance and details of the transactions as see a balance.

Thanks!

Javier

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [April 28, 2020, 4:53pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/2 "2020-04-28T16:53:31Z")

</div>

Hey @jbonet007 👋

Welcome to the community.

This sounds like something you could easily do with a [cloud variable](https://docs.thunkable.com/variables#app-stored-and-cloud-variables)

Hope that helps!

---

<div class="post-metadata">

### Author: ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)
#### Post date: [April 28, 2020, 5:30pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/3 "2020-04-28T17:30:55Z")

</div>

Yes! I also recommend you to use cloud variables wich works with firebase! in other words It seems that firebase is the best option for this 😀

---

<div class="post-metadata">

### Author: ![jbonet007](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jbonet007](https://community.thunkable.com/u/jbonet007)
#### Post date: [April 30, 2020, 6:41pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/5 "2020-04-30T18:41:47Z")

</div>

Thanks for the fast reply!  
I think there is one point I missed to mention… and I am not sure if the suggestion will be the same: to use firebase Realtime Database (or cloud variables).

There can be n- number of users, and any user can decide to send the points to any other user, this means each user will need to be able to filter the transactions and see n- number of balances.  
I cannot predefine the number of variables (like in the Work Credit example).

Any further advice?

Javier

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 30, 2020, 7:02pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/6 "2020-04-30T19:02:16Z")

</div>

> [@tada New Thunkable ✕ PRO Feature: Publish your Project as a Web App 2020-03-11](http://community.thunkable.com/t/new-thunkable-pro-feature-publish-your-project-as-a-web-app-2020-03-11/500455/140):
>
> yes. use a cloud variable and a signin system. assign any data stored to the cloud variable with a pathway like this Cloud VARNAME/userID/Data you can use these blocks to create custom pathways within the variables [[image] ](https://res.cloudinary.com/behaviorreportcard/image/upload/v1588256427/Screen_Shot_2020-04-30_at_10.18.58_AM_pwhdcv.png)[[image] ](https://res.cloudinary.com/behaviorreportcard/image/upload/v1588256426/Screen_Shot_2020-04-30_at_10.19.52_AM_slduhg.png) get the userID from the firebase login. save the userID from the login blocks to an app variable. use the variable as part of the variable pathway using the text connector blocks […](https://res.cloudinary.com/behaviorreportcard/image/upload/v1588256553/Screen_Shot_2020-04-30_at_10.22.25_AM_wko3vg.png)

Create a custom pathway for each user based on userID. In each pathway create a sub pathway tostore an object eith user info.

---

<div class="post-metadata">

### Author: ![jbonet007](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jbonet007](https://community.thunkable.com/u/jbonet007)
#### Post date: [April 30, 2020, 7:06pm UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/7 "2020-04-30T19:06:12Z")

</div>

> [@jared](#):
>
> or each user based on userID. In each pathway create a sub pathway tostore an object eith user info

This is really smart! thanks. I will give it a try!

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:29am UTC](https://community.thunkable.com/t/which-is-the-right-database-to-use/564286/8 "2024-11-08T11:29:34Z")

</div>


