+ 2

Can you have a database on your phone?

if i wanted to create a website from my phone but needed a database to store info gathered from the website, what would be my best options? is there a free cloudbased database i could use?

31st Jan 2017, 3:24 PM
Glenn Bennett
Glenn Bennett - avatar
6 Answers
+ 7
Firebase uses a API that you can use in any javascript file...so in theory its possible to setup a firebase database and then code the connections using websockets, its doable i think. Check it out Daniel Shiffman videos about Firebase, he makes a simple game that stores highscore and show it on a html file with node.js, all can be done with CDN (external links) on the js files.
31st Jan 2017, 5:37 PM
Igor Busquets
Igor Busquets - avatar
+ 5
Firebase. How to use it? Go find @Burey
31st Jan 2017, 3:25 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 5
@Glenn Bennett Firebase is an online database...
31st Jan 2017, 3:56 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
What do you mean by "wanted create a website FROM my phone"? Anyway, your phone can only host a web site on local network, or private purpose ( need to have device connected and to know dynamic public IP of the device )... However, if you use your phone for serve web pages, you need a tool for doing that: among the different possibilities, you'll find develop an app with java and you do it on desktop, or use a pre-existing app, or use another tools/language to achieve the same goal ( in example, you can develop a little web server tool based on Python and Bottle )... Well, in almost cases you'll must find a solution for used database, at least through android APIs to manage SQLite ( I guess you want host the database too on your phone ) ^^ ( for pre-existing app, you need to have features intended inside, at least to use another dedicated app service )
31st Jan 2017, 3:55 PM
visph
visph - avatar
+ 1
no you can use firebase in the browser to manage databases
31st Jan 2017, 7:11 PM
raz0rblade
raz0rblade - avatar
0
to use firebase you have to have android studio right? and thats not a phone app so how do i use it
31st Jan 2017, 3:30 PM
Glenn Bennett
Glenn Bennett - avatar