Web app with REST API for generating a random number