Skip to main content

Bring Your Own Stack (BYOS)


Does domo init not give you enough of what you’re used to for starting new projects If you have a generator or starter kit you’re partial to, you can still use it. All you have to do is update your local development server to handle requests for data from Domo. Here are a few examples of how you can leverage the ryuu-proxy module to turn any existing web application into a Domo App.
Advanced React Template Domo also has a more advanced template available that Domo teams use when building apps. Contact your Account Executive for more information on how to obtain access to the Advanced App Platform Package.

Basic Create React App

DomoApps has a basic create-react-app template that can be installed that includes all the Domo-specific dependencies and configurations. Follow the instructions from the create-react-app documentation to install a new react app with the @domoinc/cra-template template based on the package manager of your choice (npx, yarn, or npm).Replace the word my-app in the following commands with the app name of your choice.yarn yarn create react-app my-app --template @domoinc npx npx create-react-app my-app --template @domoinc npm npm init react-app my-app -- --template @domoincThese commands will create your project in a my-app folder with the following included:
  • The manifest and thumbnail are provided in the public folder.
  • The proxy server is setup with @domoinc/ryuu-proxy for local development to your domo instance.
  • An upload script has been added to the package.json for easy upload.

Upload and configure

  • Use the domoapps cli to login to your Domo instance with domo login
  • Upload the boilerplate app to your Domo instance using yarn upload or npm run upload
    • The project will build, add all assets to the build folder, and then upload the assets to Domo
    • The manifest.json file in the build folder will be modified by the domoapps cli to include an id property—you will want to copy this id into the manifest in your public folder so that it doesn’t continue to create a new id on each upload
  • If you intend to use endpoints provided by the App Platform (e.g. datasets, AppDB, etc), make sure to also add a proxyId to the manifest.json file in your public folder. See proxy documentation for more info.

Local Development

Run the yarn start (or npm start) command (after you’ve uploaded your app at least once) to start developing locally.