Welcome to the Web Heroes project repository! This project aims to enhance the authentication system of our Web Heroes application by integrating PHP and REST API to handle access requests and secure sensitive web pages.
The initial phase of the project focused on developing a user-friendly login page and a welcoming dashboard.
Now, the project's focus shifts to improving the existing authentication system by integrating REST API to manage access requests. This update aims to make the system more robust, scalable, and compliant with development best practices.
- Create a set of REST API to handle authentication operations, including user credential validation.
- Utilize the POST method to manage API access requests.
- Modify the login page (
login.php
) to send credentials through a POST request to the developed REST API.
- In the PHP logic of the login page (
login.php
), manage the response received from the REST API and authenticate the user accordingly.
- Ensure that the protected page (
protected.php
) continues to secure its content by requiring authentication through the integrated REST API.
- Clone this repository to your local machine.
- Navigate to the project directory.
- Follow the instructions provided in each part's directory to set up and run the respective components.
- Customize and extend the project according to your requirements.
Contributions to this repository are welcome! If you have suggestions for improvements, bug fixes, or new features, please open an issue or submit a pull request.
This repository is licensed under the MIT License.
For any inquiries or assistance, feel free to contact vincenzogiordano99@libero.it.