- PHP >= 8.1
- Laravel >= 9.14
- SQLite database
This challenge does not require any additional library. Do not modify the composer.json or composer.lock file as that may result in a test failure.
-
Run composer install command:
composer install
-
Create .env file from .env.example
-
Fill the database info in the .env file
-
Generate the app key by running the command:
php artisan key:generate
-
To serve the api run the command:
php artisan serve --port=3000
-
To run the tests use the command:
php artisan test