Skip to content

Template PHP with API . Bootstrap 5, user admin, product management, api token, etc...

License

Notifications You must be signed in to change notification settings

yann83/TemplatePHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small gesture, a big support! Buy me a coffee ☕ if you appreciate my work. Thanks in advance!

"Buy Me A Coffee"

TemplatePHP

I would like to thanks niltonpaes and purotu for sharing linked code, it was a great inspiration for me.

Content

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.

How to use

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.

About

Template PHP with API . Bootstrap 5, user admin, product management, api token, etc...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published