Data base, what is the best approach for implementing a DB for our application?

Hi there,
We are a team working in a project called Technovation. We are working on implementing an application that needs a data base. We want to use this data base in order to store the user name, email, general info… from each user.

For example, when the user first installs our application, he/she needs to login. Once this process is done, the user won’t have to repeat this login, he/she will just continue to the next screen.

We also need to have different profiles. This means that depending on what information the user inputs in the login screen, he/she may have some restricted operations. For example, if the user has a type A account, he/she is going to be able to modify his/her avatar. On the other hand, the user with type B account will not be able to modify the avatar.

Basically, we need a data base in order to store the login info (that the user just needs to do the first time he/she opens the app) and depending on the profile he/she might have some restricted actions.

Thanks in advance,
Itziar

If you need a cloud based database, then use firebase or clouddb

There is no tutorial showing how to do all the things you hope for.

Here are some resources to help you learn to use the AI2 tools and build your Technovision Project. A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.

Have you read this stuff?

You do need an online data base, that means using App Inventor 2 you will use a FirebaseDB, an MIT CloudDb, use a GoogleSpreadsheet as a datastore or use a TinyWebDB. Are you creating an online game in real time?..then probably using a FirebaseDB or CloudDB will be most appropriate. You might try one of the tutorials . To start, try CloudDB Chat

All will require you to create your own log in protocols. Here is one way to log in to a TinyWebDB. The methodology for other databases would be similar. To restrict activities, use If then… statements to decide what a person is entitled to.

Regards,
Steve