Demo: http://algolia-test.naseobchody.cz/
- Clone this repository
- Install composer dependencies with
composer install
- Fill your Algolia credentials into
app/config.inc.php
file - Run the app
GET /
=> Render an HTML page displaying an auto-completion menu searching in an Algoliaapps
index.POST /api/1/apps
=> Add an app (as a JSON object) to the Algoliaapps
index and return itsid
DELETE /api/1/apps/:id
=> Delete an app from the Algolia index
- Framework itself is located in
MVC
directory - App itself (Controllers, Template, Models) is located
app
directory - Tests can be found in
tests
directory and are divided intoMVC
nadapp
tests- Test can be run from within
tests
directory by command../vendor/bin/tester . -c test_php.ini
- App tests needs filled Algolia credentials in
app/config.inc.php
file
- Test can be run from within
Enjoy the Algolia Test App Store :)