|
|
5 hónapja | |
|---|---|---|
| bin | 5 hónapja | |
| controllers | 5 hónapja | |
| libs | 5 hónapja | |
| middlewares | 5 hónapja | |
| migrations | 5 hónapja | |
| models | 5 hónapja | |
| public | 5 hónapja | |
| .env.example | 5 hónapja | |
| .gitignore | 5 hónapja | |
| README.md | 5 hónapja | |
| composer.json | 5 hónapja | |
| composer.lock | 5 hónapja |
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