Traveling app

What is a database?

What for ?

Most of the people travel serveral times during their life visiting different countries and wandering around the world. Over the years, keeping track of which city/monument was visited gets harder and harder.That's why using a databse is a good idea in our situation.

Getting started

To start with , we should create a firebase account. After naming our project , a code should be generated in order for the programmer to use it in his JavaScript file. Here is an exemple of the generated file:

What do we put in our DataBase?

Concerning the dataBase we will have to store countries which are going to be a parent that contain cities that contains monuments (only the one visited of course). The dataBase should look like the following:

How do we add to our databse?

After liking the firebase to the code , a form should be coded and set in order to add new elements to the database. Here is a hint of how the form may look like:

Similir apps: