In this project we are going to put into practice all the previous knowledge learnt in the master to develop a project of our choice but this time using PHP in the backend layer
In this PROJECT we have created a music that allows the user to login, register and play audio content in the same way as we would do in the Itunes platform. There is also an admin section where we will be able to visualize the content reproduced by each registered user.
- Improve your knowledge of PHP
- Improve your knowledge of working with HTML, CSS, JS and PHP together
- Improve your knowledge of working with GIT
- Learn how to retrieve info from a third party API using PHP
-
PHP_Develop_Project - The project folder that contains:
- assets: Folder that contains used external resources
- data: Folder that contains the JSON files
- html: Folder that contains reusable html code
- node_modules: Folder ignored by git that contains the installation of npm dependencies
- postman: Forther that contains the POSTMAN collection to test the GET requests to the API
- project_documentation: Folder that contains the presentation and documentation of the project
- server: Folder containing all the scripts that run in the server
- src: Folder containing the CSS and the JavaScript code
- test: Folder containing the test scripts
- vendor: Folder ignored by git that contains the installation of composer dependencies
- .gitignore: File that tells GIT which files to ignore
- _adminpanel.php: file with the layout of the admin section
- composer.json: File describing the project with its PHP dependencies
- composer.lock: File listing the installed PHP dependencies
- index.php: main file with the main page
- login.php: file containing the login panel page
- package.json: File describing the project with its JS dependencies
- package-lock.json: File listing the installed JS dependencies
- README.md: This file
- register.php: file containing the register panel page
When setting the URL of our browser to http://localhost/PHP_Develop_Project/ we will see the main screen, where on the top there is a nav bar and in the center there is an album of last hit songs.
In the nav bar we have the posibility to search titles, artist and filter by album, song or music video; as well as register as a new user or login with an already registered user or admin credentials.
Only if we are successfully logged we will be able to reproduce the media content; content which will be stored in our userlogin.json JSON file with the user credentials and the reproduced content information.
In the admin we are able to see the content viewed by every registered user.
- Guillermo, Jaime, Sayeed & Yulia - All the work of design and code - Repository