BWO icon indicating copy to clipboard operation
BWO copied to clipboard

is it possible to change the firebase database to local database eg:mysql???

Open diybl opened this issue 5 years ago • 4 comments

diybl avatar Oct 11 '20 16:10 diybl

is it possible to change the firebase database to local

Yes, you can use other Non-Relational databases, like MongoDB, or just save all the states in a file. In fact, there is already an example done in the folder bwo-server\resources\data\ you have local_storage.js and firebase_storage.js, just follow the model and make your own.

eg:mysql?

Firebase is a NoSQL which means it is a non-relational database so it is very different than MySQL, still, It would be possible but you will have to change a bit the code implementations.

Dannark avatar Oct 11 '20 20:10 Dannark

thanks, i will try it~~

diybl avatar Oct 12 '20 01:10 diybl

is it possible to change the firebase database to local

Yes, you can use other Non-Relational databases, like MongoDB, or just save all the states in a file. In fact, there is already an example done in the folder bwo-server\resources\data\ you have local_storage.js and firebase_storage.js, just follow the model and make your own.

eg:mysql?

Firebase is a NoSQL which means it is a non-relational database so it is very different than MySQL, still, It would be possible but you will have to change a bit the code implementations.

is there any mangodb interface???

diybl avatar Oct 12 '20 07:10 diybl

Sorry, there isn't, but perhaps, that might be a nice feature to have.

Dannark avatar Oct 12 '20 15:10 Dannark