All HTML files should be changed to '.php' extension at the end of the assignment, instead of '.html'.
Homepage PHP file should be named "index.php", regardless which user role.
Import vegemarket.sql
in the "sql/" folder to phpMyAdmin to use the designed database. The database name must be "vegemarket"
Files MUST be uploaded into the folders as shown below:
File type | Stored Location |
---|---|
External CSS files '.css' | 'styles/' folder |
External Javascript files '.js' | 'src/' folder |
Media files used in the website (including images & videos) |
'images/' folder |
Images uploaded from user | Add a new folder with user id as the name in 'assets' folder The file structure would be 'assets/{user_id}/{filename}' |
Header and Footer | Save in "includes/" |
PHP files without any HTML in it | Save in "modules/" |
PHP files with pure HTML, without any PHP | Save in "templates/" |
Files that can be accessed by more than one role | Save in "public/" |
Other webpage files | Upload files in the respective role's folder e.g. Files specifically for Admin in 'admin/' folder |
Create as many functionalities which were taught in class as possible. Refer https://github.com/TeoJJss/web_dev_homework