Getting Started

From this, have the basis of our API which will output all content in json. To get started, we need to run composer and install all the required files. If you do not know how to run composer, go and see the official documentation at https://getcomposer.org.

Once composer is installed, run the command composer install on you project to ensure all relevant files are installed and indexed in the autoload.php file.

In our project, we want to ensure the api is looking at a database. If you do not know how to set up a database and would like a section specifically on that topic, please leave me a comment below. Once the database is set up, go to the config.json file that is found in the App/Config/ folder and then maintain the database credentials. Here is the file on Github as illustration.