File tree Expand file tree Collapse file tree 5 files changed +4
-7
lines changed Expand file tree Collapse file tree 5 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11
2- ## < p align = " center " > Example API structure in PHP - MVC with Database Firebase for deployment in Vercel </p >
3- < p align = " center " >
2+ ## Example API structure in PHP - MVC with Database Firebase for deployment in Vercel </p >
3+
44 <a href =" #php+firebase+vercel " ><img src =" public/header.png " alt =" Hi!! " /></a >
55</p >
66
2323 │ └── users
2424
2525
26- ## Dependencies
26+ ## Dependencies/Require
2727> Para produção, necessário para fazer conexão com Firebase
2828- [ Firebase Admin SDK for PHP] ( https://firebase-php.readthedocs.io/en/5.x/ )
2929
File renamed without changes.
Original file line number Diff line number Diff line change 1818if (Auth::checkout ()) $ router ->run ( $ router ->routes );
1919
2020
21- /* echo '<pre>';
22- print_r($_ENV['JWT_SECRET_SIGNATURE']);
23- echo '<pre>'; */
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Config {
1414 // - the name of this key has to be the same in the database Ex: user | username |id
1515 // - Nome da chave do dado do payload JWT que será verificada ao banco de dados,
1616 // - o nome dessa chave tem que ser a mesma no banco de dados Ex: user | username |id
17- const PAYLOAD_TO_VALIDATE = 'github_username ' ;
17+ const PAYLOAD_TO_VALIDATE = 'user ' ;
1818
1919 const ERROR_CONTROLLER = 'ErrorController ' ;
2020 const DEFAULT_ACTION = 'index ' ;
You can’t perform that action at this time.
0 commit comments