title: Is it possible to build and deploy cube.js using aws amplify. If yes, what would be build settings for it?
body: <p>My project includes cube.js backend and react frontend. I was able to set up CICD using aws amplify for the front end but I am unsure if I can deploy cube.js on aws amplify.</p>
  
  <p>In the local environment I first run 'npm run dev' to run the backend which starts the service on localhost:4000 and I start the react project with 'npm start' and it runs on localhost:3000. I would like to build and deploy both backend and frontend using aws amplify</p>
  
  <p>My project is set up similar to this example 
  <a href="https://github.com/cube-js/cube.js/tree/master/examples/react-dashboard" rel="nofollow noreferrer">https://github.com/cube-js/cube.js/tree/master/examples/react-dashboard</a></p>
  
  <p>In aws amplify, I have the build settings for my frontend as below</p>
  
  <pre><code>version: 0.1
  frontend:
    phases:
      preBuild:
        commands:
          - cd dashboard
          - npm ci
      build:
        commands:
          - npm run build
    artifacts:
      baseDirectory: dashboard/build
      files:
        - '**/*'
    cache:
      paths:
        - node_modules/**/*
  </code></pre>
  
  <p>How do I include my backend cube.js project in this?</p>