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

    Serving Quasar App as a Node App on AWS?

    Help
    3
    4
    2113
    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.
    • L
      limjackson last edited by limjackson

      Hi, just wondering if it’s possible to host a Quasar app as a node.js app on platforms such as AWS?
      If that’s not possible, what are my options to serve it online? Currently, when I upload my work to AWS, I get a Cannot GET / message on the main page so I’m not sure how to go about this.

      Edit: I realise this is more of a Vue.js question as opposed to a question about the Quasar Framework. I’ve asked it here: https://forum.vuejs.org/t/uploading-a-vue-js-app-on-aws-as-a-node-js-app/10466
      However, if anyone of you do know about it, please reply. Thanks!

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

        Quasar is a front-end / client application framework. There is no “node” version, except the dev server, which obviously isn’t built for production use.

        If you want to serve a Quasar app from node, you need to build it and then run an HTTP server** on node and point it to the /dist folder.

        ** This is just an example.

        If you are looking for a server-side rendering version of Quasar, that isn’t yet available.

        Scott

        1 Reply Last reply Reply Quote 0
        • L
          limjackson last edited by limjackson

          Alright, thanks Scott. Wasn’t entirely sure on how to go about it. Thanks for pointing me into the right direction 😄

          Edit: Wow, http-server is very simple. Now I just need to figure out how to have it all set up on AWS

          1 Reply Last reply Reply Quote 1
          • rstoenescu
            rstoenescu Admin last edited by

            All you need is to upload the /dist folder after a build to ANY hosting provider.
            In the case of AWS, you can use s3_website CLI to easily deploy: https://github.com/laurilehmijoki/s3_website

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