The root of the project is html/index.html The folder needs to be put in htdocs folder to run correctly // this link should open the main page if the server is running // and listening on port 8000 // http://127.0.0.1:8000/html/index.html
The hierarchy of the project
- API: holds the PHP files that the front-end calls
- config: holds the DB connection info
the info of connecting to the DB needs to be updated according to your computer, so Please update the Database.php file within config folder with your data {the host,username,password} variables
- CSS: holds the styling .css files
- HTML: holds the .html files
- js: holds the pure javascript files that connect to the APIs
- models: holds the PHP models that have the logic and connects between API and DB
the project is built according to MVC. the compressed DB must be imported to run the project.
Mhd Zayd Skaff