front-end page for api demo