This project is a boilerplate backend for radio-style applications, built with Next.js and TypeScript. It is designed for easy integration with InfluxDB (time-series database), Prometheus (metrics), and Grafana (visualization/dashboarding). It provides API endpoints, audio processing, and a UI for managing radio events and modules.
- InfluxDB: Ready for time-series data storage (metrics, events, etc.)
- Prometheus: Boilerplate for exposing metrics endpoints
- Grafana: Designed for easy dashboarding and visualization
- Next.js app with API routes
- Audio visualizer and event feed components
- Modular architecture for sound modules
- UI components for toggling modules and themes
- Boilerplate for InfluxDB, Prometheus, and Grafana integration
- Node.js (v18+ recommended)
- pnpm (preferred) or npm/yarn
pnpm installpnpm devOpen http://localhost:3000 to view the app.
pnpm testapp/- Next.js app directory (pages, API routes)components/- React UI componentslib/- Utility and sound module logicpublic/- Static assetsstyles/- Global and component styles
A Dockerfile is provided to run the app in a container. See below for usage.
docker build -t backend-radio-boilerplate .docker run -p 3000:3000 backend-radio-boilerplateThe app will be available at [http://localhost:3000](http://localhost:3000
MIT