- Notifications
You must be signed in to change notification settings - Fork5
Secure login interface based on ReactJS and PHP API, designed with Material-UI. The PHP API server-side counts requests to the webserver - logs and blocks suspicious intruders.
License
stutzerik/reactjs-php-login-system
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Secure login interface based on ReactJS and PHP API, designed with Material-UI. The PHP API server-side counts requests to the webserver - logs and blocks suspicious intruders.
PHP counts requests from an IP address that come from the ReactJS frontend. It records these requests in the MySQL database, and then, if too many are received (100/hour), it refuses PHP data processing. This prevents server overload.
- Backend: Copy the contents of the folder to the public folder of Apache2 (or another web server).
- Database: Run the SQL code in the sql_dump file & create your database with it.
- Frontend:
cd frontendnpm installnpm run buildnpm startOpen your browser inhttp://localhost:3000/
This is a small, symbolic project for a possible data security practice.
- Login
- Register
- Logout
- Welcome page
Feel free to use it, but don't forget to mention the source. :)
About
Secure login interface based on ReactJS and PHP API, designed with Material-UI. The PHP API server-side counts requests to the webserver - logs and blocks suspicious intruders.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.