Developer Guide#
Prerequisites#
- Bun installed (v1.x or newer).
Steps to Run#
Clone the repository and navigate into the directory:
git clone https://github.com/svyatoslav-kubakh/podhound.git cd podhoundInstall dependencies:
bun installStart the server in development mode (with hot-reloading):
bun start:devThe server will start listening at
http://localhost:8080.Run automated test suite:
bun testLint and auto-fix code style:
bun run lint # check only bun run lint:fix # auto-fixBuild a standalone executable binary:
bun run build ./dist/podhound
Project Structure#
src/
├── config/ # App configuration (env variables)
├── db/ # Database client, migrations
│ └── migrations/ # SQL migration files
├── routes/ # HTTP and CLI routing
│ ├── api/ # API sub-routers (auth, devices, subscriptions, episodes)
│ └── cli/ # CLI sub-routers (user management)
├── services/ # Business logic (auth, users, subscriptions, episodes)
├── types/ # Shared TypeScript interfaces
└── main.ts # Application entry pointFor a full list of available settings, please refer to the Environment Variables documentation.