This is a sample REST API that returns JSON as a response.
- PHP 8.1
- Laravel 10
- MailHog
- Redis
- MySQL
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan serve
php artisan cache:clear
php artisan queue:work
php artisan test
php artisan scribe:generate
- Login credentials
email: testuser@foodhut.com
password: 12345678
- After generating the documentation, navigate to
/docs
to view and test the APIs within the generated documentation by clicking on theTRY IT OUT
button. A POSTMAN collection can also be exported from the documentation.