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