Rest API project use Lumen with token base JWT
- Clone this project
- Create .env file
cp .env.example .env
- Run composer
composer install
- Generate App key
php artisan key:generate
- Generate Jwt key
php artisan jwt:secret
- Optimize
composer run-script optimize
- Run migration and seeder
php artisan migrate:fresh --seed
- Run server
php -S localhost:8002 -t public
- Default user
username : user
password: password
- Import postman json to your postman
postman.postman_collection.json
&postman_env.postman_environment
- done, just try run your project in postman