the_minimal_php_js_mysql_rest_website
Questo è il repository per la app minimale con tecnologie HTML , Javascript, PHP, e MySQL per i ragazzi del 5AI
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2019-10-11 |
| Downloads | 0 |
| Last Indexed | 2026-08-11 05:08 |
Installation
nimble install the_minimal_php_js_mysql_rest_website
choosenim install the_minimal_php_js_mysql_rest_website
git clone https://gitlab.com/M4sterEma/the_minimal_php_js_mysql_rest_website
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| the_minimal_php_js_mysql_rest_website | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/M4sterEma/the_minimal_php_js_mysql_rest_website |
|---|---|
| Homepage | https://gitlab.com/M4sterEma/the_minimal_php_js_mysql_rest_website |
| Registry Source | gitlab |
README
the_minimal_php_js_mysql_rest_website
Questo è il repository per la app minimale con tecnologie HTML , Javascript, PHP, e MySQL per i ragazzi del 5B INF!!!
L'applicazione è raggiungibile su https://phpminimal.befair.it
How to test
Per testare la web application è necessario predisporre il proprio ambiente di sviluppo. Una soluzione molto semplice per installare l'ambiente di sviluppo è: * XAMP: un ambiente Apache + MySQL + PHP multipiattaforma (la X sta per "qualsiasi" sistema operativo)
Per capire più in dettaglio le configurazioni delle varie componenti (e quindi approfondire) si possono installare separatamente le componenti.
Creare il database
La definizione del database è nel file database.sql.
Copiare le query in esso contenute ed eseguire nel proprio DBMS.
Da riga di comando si può fare con mysql < database.sql
Creare un utente con tutti i diritti su quel database
mysql esempio
CREATE USER 'phpminimal' IDENTIFIED BY 'phpcrazy';
GRANT ALL PRIVILEGES ON esempio.* TO 'phpminimal';
FLUSH PRIVILEGES;
Creare utente di test
Modo 1: file e script
- Creare file utenti.txt con elenco di username
- Eseguire riga di bash:
INSERT INTO utente (username, password, nome) VALUES ('$name', PASSWORD('$name'), '${name[@]^}');
Modo 2: preparare le query a mano
- Creare file utenti.sql con le query di inserimento utenti