Creating API
Creating API
then using the control panel we press config from apache and copy paste this command
under directory
We can then start the apache. After checking the localhost/ctAPI/ whether if everything is
working, we start mySQL. If there are errors given in the control panel from services MySQL
can be forcefully shut. Afterwards we press admin in the line of MySQL. And it will lead us to
phpAdmin where we will create a new database and link our products.
We then press a create new database and name it product and change it to utf8mb4_bin
since it can support wider range of characters.
After creating the database we click to SQL and copy paste products.sql from our folder.
As it can be seen from this screenshot our products are visible in the tables.