Create a RESTful API using any PHP libraries, skeletons or frameworks or choose to create with standard PHP.
- Clone the repo
- Create a branch from
develop
using your name - Create a standard API
- After an hour you will be asked to show your code
NB. This task is for 1 hour and is more about how you go about the task and code quality rather than completing the task
To create this project you will need a local LAMP stack, this has been created for you.
In the dir docker-compose-lamp/
do a docker-compose up -d
This will create a LAMP stack that is available at http://localhost
In the main dir you will find
www/
folder, this is the root for your appwww/app/
folder, this is the public folder for your app (you can change this in the .env file)
All configuration for the LAMP can be found in the .env
file including the MySQL details
http://localhost - Main url
http://localhost:8080 - phpMyAdmin, although Workbench is available
There is a DB ready to use with tables and data
The DB is customer_db