Rest API serving random Kanye West quotes
A secure API connecting to the kanye.rest API
The things you need before installing the software.
- PHP 8.2
- Composer
- Node
- Docker
Clone from Github
git clone git@github.com:Domsab/AVRillo-task.git
cd AVRillo-task/
Composer install
composer install
Setup Laravel .env & database
cp .env.example .env
php artisan key:generate
vendor/bin/sail artisan migrate
Run Laravel Sail in detached mode
vendor/bin/sail up -d
Install npm packages
npm install
And finally run the application
vendor/bin/sail npm run dev
Create a new user using the following command take note of the returned api token
./vendor/bin/sail artisan api:manage-users
Login via http://localhost/ using email password and api token
./vendor/bin/sail test