Add Database to project

How i can add database to my ionic2 project

create a backend in a server side programming language you know. node(javascript), elixir, ruby, php, perl, python, java, …
And add something like an api to it.

Or your a BaaS like, firebase or something like that.

If you want a local database on the device -> search for cordova sqlite, pouchdb or lokijs