An app for Firefox OS is structured with HTML5, CSS3, and JavaScript files including app.css, app.js, and a manifest file that contains metadata like the app name and permissions. The manifest is a JSON file that browsers use to interact with the app. Developers can install apps for testing via the Firefox OS simulator dashboard or directly in the browser to begin coding.