|
|
преди 5 месеца | |
|---|---|---|
| bin | преди 5 месеца | |
| controllers | преди 5 месеца | |
| libs | преди 5 месеца | |
| middlewares | преди 5 месеца | |
| migrations | преди 5 месеца | |
| models | преди 5 месеца | |
| public | преди 5 месеца | |
| .env.example | преди 5 месеца | |
| .gitignore | преди 5 месеца | |
| README.md | преди 5 месеца | |
| composer.json | преди 5 месеца | |
| composer.lock | преди 5 месеца |
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