Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Quasar and mariadb

    Help
    2
    2
    29
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stanisalv Franek last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        @Stanisalv-Franek

        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/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post