/task-api

My task prodject

Primary LanguagePHP

Installation

 git clone https://github.com/shkera/task-api.git task
 cd task && composer install
 cp .env.example .env
nano .env
DB_HOST=db
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=your_user
DB_PASSWORD=your_passwor
php artisan key:generate
php artisan migrate:fresh --seed

Swagger

Swagger link

Run the application

php artisan migrate:fresh --seed && php artisan serve

or

php artisan sail:install && ./vendor/bin/sail up -d
./vendor/bin/sail artisan migrate:fresh --seed

Open the link