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 1
1
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
+
4
4
<a href =" #php+firebase+vercel " ><img src =" public/header.png " alt =" Hi!! " /></a >
5
5
</p >
6
6
23
23
│ └── users
24
24
25
25
26
- ## Dependencies
26
+ ## Dependencies/Require
27
27
> Para produção, necessário para fazer conexão com Firebase
28
28
- [ Firebase Admin SDK for PHP] ( https://firebase-php.readthedocs.io/en/5.x/ )
29
29
File renamed without changes.
Original file line number Diff line number Diff line change 18
18
if (Auth::checkout ()) $ router ->run ( $ router ->routes );
19
19
20
20
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 {
14
14
// - the name of this key has to be the same in the database Ex: user | username |id
15
15
// - Nome da chave do dado do payload JWT que será verificada ao banco de dados,
16
16
// - 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 ' ;
18
18
19
19
const ERROR_CONTROLLER = 'ErrorController ' ;
20
20
const DEFAULT_ACTION = 'index ' ;
You can’t perform that action at this time.
0 commit comments