A small gesture, a big support! Buy me a coffee ☕ if you appreciate my work. Thanks in advance!
I would like to thanks niltonpaes and purotu for sharing linked code, it was a great inspiration for me.
Actually this template was built with Boostrap 5, Firebase, some ajax/javascript and I've added an API fonctionnality with JWT token. There are two roles : Admin and User. You can CRUD the Users or Products page on a single page. There is an API doc (this isn't a full doc) A user can change his email or password, and generate a token for 24hours.
You can import php_template.sql sample. Default credentials are : user:user and admin:admin
The App : You must change constants in
- SQL config : \config\pdo-connection.php.
- Constantes file : \layout\constantes.php.
The API : You must change constants in
- Core file : \api\config\core.php
- Database file : \api\config\database.php
Feel free to update, change or share this template.
