Sample app with API access using SammyJS for routing and Swagger for documentation
- /api - contains sample API to hit local database
- /css and /js - contains front end code
- /pages - contains templates used with SammyJS for views
- live.sql - database file for dummy data
Local server is setup a liveapi.local, if you are using a different local domain, you will need to change this in the /api/documentation/index.php and the js/app.js and js/init.js files.
You will also need to download Swagger UI: https://swagger.io/tools/swagger-ui/download/