Quasar and mariadb
-
Hello,
I would like to use Quasar Framework along with mariadb database. How is the best way to connect db from Quasar?
Note: I’m Quasar very beginner, so please be patient with me.
Thanks for every usable informations.
-
To keep is simple: a Quasar app is client side only and runs in the browser( SPA mode). In order to communicate with a database you’ll need a backend running on a server to connect to a DB( like MariaDB). So (usually) you cannot connect to a database directly from your Quasar app.
Quasar <-> Backend Server( Express, Meteor, Django, Laravel, ect) <-> DB (MariaDB, Postgres, ect)
Here’s an article with Express as a backend:
https://bezkoder.com/vue-js-node-js-express-mysql-crud-example/