Microservice for accesing agricultural database records by name using PHP.
To build the source microservice you need to install PHP and MySQL on your mashine.
Check out source:
git clone https://github.com/clientforgit/bus_booking
Put location of АгроекологіяПоля.csv file inside agricultural_db.sql file:
Open mysql terminal and execute following commands for enable LOAD DATA LOCAL INFILE and import sql querys from file:
mysql> set global local_infile=1;
mysql> source <location of file agricultural_db.sql>
Change configuration in db_config.json to your database configuration. Now, start php local server in cloned repository:
php -S localhost:8080

