This repository is under heavy development. Please, visit the repository later.
After cloning the repository, you should run composer to download and install the packages.
composer install
Rename .env.sample
to .env
. Run the migrator with the database seeder. This will create an SQLite database with some sample data.
php artisan migrate --seed
Start the built-in server to run the application
php artisan serve
You may run the test using the following command. The tests are written using PEST.
php artisan test
Postman Collection (https://github.com/kemalyen/product-api/blob/main/public/docs/collection.json)
Open API (https://github.com/kemalyen/product-api/blob/main/public/docs/openapi.yaml)
Web-based documents are located at HTTP://localhost/docs/index.html
If you want to re-generate your API, simple just run following command:
php artisan scribe:generate
The Laravel framework is open-sourced software licensed under the MIT license.