- insert_json.php - to insert JSON data (events.json) into db
- events.php - filtering and showing data in the screen
- Clone the repository into an existing PHP enviroment.
- Run the
db_migration.php
file to [drop and] create db tables. Alternatively you might get the content of thetables.sql
file and run it at the MySQL server console or at the phpMyAdmin. - Set up the MySQL database credentials inside of the
db_config.php
file. - Load the JSON data by running
insert_json.php
file. - Filter data
events.php
file.