|
|
hai 5 meses | |
|---|---|---|
| bin | hai 5 meses | |
| controllers | hai 5 meses | |
| libs | hai 5 meses | |
| middlewares | hai 5 meses | |
| migrations | hai 5 meses | |
| models | hai 5 meses | |
| public | hai 5 meses | |
| .env.example | hai 5 meses | |
| .gitignore | hai 5 meses | |
| README.md | hai 5 meses | |
| composer.json | hai 5 meses | |
| composer.lock | hai 5 meses |
run ./setup
run compose install
run php -S localhost:8000 -t public
on another terminal run curl -X POST http://localhost:8000/register -H "Content-Type: application/json" -d '{"username":"du","password":"du123456"}'
on the other terminal run ./bin/testgetjwt
on the other terminal run export JWT=<jwt tooken>
on the other terminal run ./bin/testusejwt
on the other terminal run ./bin/testhmac