LabiciIvan / php-api-nutritional-project

A PHP API nutritional project
0 stars 0 forks source link

Set up NginX development environment #1

Closed LabiciIvan closed 3 months ago

LabiciIvan commented 3 months ago

Description:

Requires to set a index.php file which will represent the main entry point to the application.

The index.php file will load the Application::class which will be the main execution class to load the application.

Requires to install phpUnit to enable writing of the unit tests, this will help in test driven development and correct any future errors.

Requires to add a .gitignore file to ignore files which are not required to be added in the git commits.

Requirements:

ApplicationInterface which will dictate the rules to the class which implements this interface;

Application:class which will implement the ApplicationInterface;

ApplicationTests which will demonstrate the passing tests for the Application::class;