No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

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

    Can i build the django apps in the quasar framework?

    Framework
    5
    5
    922
    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.
    • P
      piyush_sh123 last edited by

      I am confuse litte bit i am leraning django quasar at same time would i join both or not.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        If you use Django for an API backend (REST) and Quasar for the front-end, it should work.

        Scott

        1 Reply Last reply Reply Quote 1
        • M
          mKomo last edited by mKomo

          I’ve been using them in conjunction for most projects.

          As mentioned above REST is the way to go.

          You’d use django-rest-framework as your backend API and Quasar as your frontend and deploy both separately.

          If you’re unfamiliar with drf it’s worth getting to grips with Django first before jumping into RESTful APIs. Once your comfortable with Django you’d used drf in order to make API calls from your front end .

          For example you can chose to use axios in your quasar app, which in turn would be used to make request to your REST API.

          For example axios.get('http://localhost:8000/api/...)

          This makes a GET request to your local Django server which returns some information.

          Some additional notes:
          Django rest is really powerful. Much like Django there are generic views and model “views” (serializers) that make things really easy. There are some great extensions for social auth like django-rest-auth

          1 Reply Last reply Reply Quote 1
          • G
            gustavosenise last edited by

            @mKomo I am trying to get together django and quasar!

            I am struggling about how to make webpack works as it works with vuejs,
            I’ve just asked on Stackoverflow about it. https://stackoverflow.com/questions/65622432/config-webpack-bundle-tracker-from-vue-config-js-to-quasar-conf-js

            Please give a hint if you solve this!
            Thanks!

            S 1 Reply Last reply Reply Quote 0
            • S
              shuklaketank @gustavosenise last edited by

              @gustavosenise Did you find a solution, Even I am confused how to deploy quasar build files to django server. Please help if you have found a way to do it.

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