{"repo":"influxdata/iot-api-ui","free":true,"listed":false,"github":"https://github.com/influxdata/iot-api-ui","clone":"git clone https://github.com/influxdata/iot-api-ui.git","description":"Common React UI for iot-api-<js, python, etc.> example apps designed for InfluxDB client library tutorials.","language":"TypeScript","stars":18,"topics":["data-visualization","influxdata","influxdb","influxdb-js-client","influxdb-python","nextjs","react","visualization"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"UI for iot-api tutorials This is a Next.js project bootstrapped with create-next-app and customized to route /api requests to external middleware - specifically, the InfluxData iot-app- example applications. Start the Next.js frontend app 1. Run the development server: By default, the server runs on port :3000 ; otherwise, the next available port (for example, 3001 ). Visit http://localhost:3000 in your browser to see the result. To view the IoT Starter device dashboard, visit http://localhost:3000/devices/ 1. To customize the UI default page, edit the pages/index.tsx file. The page auto-updates as you edit the file. Next.js provides a sample REST API at http://localhost:3000/api/hello. To customize the sample endpoints, edit pages/api/hello.ts . View IoT Starter devices at http://localhost:3000/devices/. To customize the device pages, edit the files located in ./pages/devices . Use with iot-api-[language] apps To use the UI with one of the iot-api-[language] example apps, set API URL in ./.env.development to the URL of the API example app. The UI automatically routes all /api/ requests to your API server. iot-api-ui uses Next.js' catch-all routing and rewrites module to act as a proxy for cross-domain requests to the server. To customize the URL rewrites, edit next.config.js . Learn More Follow step-by-step tutorials to build the IoT Starter app: - InfluxDB OSS v2 Python and JavaScript tutorials - InfluxDB Cloud v2 Python and JavaScript tutorials To learn more about Next.js,","default_branch":null,"files":null,"tree":[],"storefront":"/r/influxdata","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/influxdata/iot-api-ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}