Skip to content

nour-eddin-badran/Article-management-system

Repository files navigation

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="noreply@ams.com"
MAIL_FROM_NAME="${APP_NAME}"

Note:

There is already seeded admin
email: admin@example.com
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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published