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
    1. Home
    2. Tags
    3. api
    Log in to post
    • R

      How to config xginx api server to accept requests from android/ios apps?
      Quasar Play App • android api cordova cors • • realtebo

      6
      0
      Votes
      6
      Posts
      250
      Views

      R

      We resolvede server side on development using a proxy bypass with origin rewrite. For production server we’re unable to enable origin ‘*’ so we’ll try to add a reverse proxy or a pass through proxy like done in development.

      Thanks

    • N

      Question about drop down lists
      Help • api dropdown • • NickBloodworth

      3
      0
      Votes
      3
      Posts
      205
      Views

      dobbel

      why not use this? Highlighting the birthdays in a calendar.

      https://quasar.dev/vue-components/date#Highlighting-events

    • N

      Using MongoDB in Quasar
      Framework • api models mongo • • NickBloodworth

      6
      0
      Votes
      6
      Posts
      1121
      Views

      necmettin

      VueJS cannot use MongoDB directly. VueJS is a frontend library (works in the browser), while MongoDB is a server-side database technology. In the course you mentioned, the author is probably bridging VueJS and MongoDB through an ExpressJS app, which runs in a server. You should be seeing things like fetch( or axios in the examples. Those words indicate the client-side application connecting to a backend.

      The models are probably written for a MongoDB library that runs in ExpressJS. Controllers must be either self-developed or using a library that allows creating controllers for ExpressJS.

      Notice I keep saying ExpressJS. There are other server frameworks for NodeJS, but ExpressJS is the most popular one.

      Also, the only difference between running your own MongoDB instance and using MongoDB atlas (for the ExpressJS app) is where to connect. One connects to MongoDB running on http://localhost, the other connects to something like https://srv05-nickb.atlas.mongodb.com

      Long story short, yes, you can use MongoDB with Vue or Quasar. But it won’t be Vue or Quasar using / connecting to MongoDB but an intermediary app written in something like ExpressJS.

    • A

      Using Axios
      Framework • api axios rest • • amoss

      3
      0
      Votes
      3
      Posts
      309
      Views

      A

      Thank you very much!