Frontend for Slim API Starter

This frontend is an example of a separate application that communicates with the API.

The link to the actual frontend must be added to the $settings['api']['allowed_origin'] in the config files: config/env/env.dev.php and config/env/env.prod.php.

You can test the API by clicking on the button below which will make an Ajax GET request to the /users route to retrieve the list of users that are in the database.