Skip to main content
AppML - Environment Setup

AppML - Environment Setup

Set up the AppML JavaScript library and serve the example through a web server.

AppML - Environment Setup illustration

How it works

A basic setup includes an HTML page, the AppML client script, and a data source or model file. Follow the version and paths used by the chosen tutorial; avoid mixing different AppML script versions. Serve the page over HTTP so browser requests and relative URLs behave as expected.

Good practice

  • Use matching versions of the AppML client, model format, and examples.
  • Keep secrets and permission checks out of browser-delivered HTML, JavaScript, and model files.
  • Validate input and authorize every read or write on the server.
  • Handle loading, empty, and error states, and check generated content for accessibility.

Further reading: Tutorialspoint: AppML - Environment Setup · AppML library reference.