Skip to content

Latest commit

 

History

History
79 lines (63 loc) · 1.13 KB

README.md

File metadata and controls

79 lines (63 loc) · 1.13 KB

Article management System

Installation Guide

  • Install PHP dependencies
composer install

###NOTE:


if it throws error try


 composer install --ignore-platform-reqs

or remove the composer.lock
  • Install node packages
npm install
  • Compile node packages
npm run dev
  • Migrate and seed the date
php artisan migrate --seed

  • Create symbolic link for storage
php artisan storage:link

Make sure you add the configuration of mail host to receive the notifications

MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

Note:

There is already seeded admin
email: [email protected]
password: password

###NOTE: if you want to run the tests please make sure you modify the application environment to test

APP_ENV=test

Then run

php artisan test --testsuite=Unit

###API The api link is: localhost:8000/api/v1/articles