Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 872 Bytes

File metadata and controls

19 lines (16 loc) · 872 Bytes

Requirements

  • PHP >= 7.2.5
  • MySQL

Setup

  1. Clone the repository.
  2. Go to the main path cd src.
  3. Install project dependencies (make sure you have installed composer on your machine) composer install.
  4. Create .env file from .env.example and set database configuration in your .env file.
  5. Run this command for creating tables and insert default data in tables php artisan migrate:fresh --seed.
  6. Run the server by this command (make sure your 8000 port is free in your machine) php artisan serve.
  7. Go to this path on your browser http://127.0.0.1:8000.

How to run tests

  1. Go to the main path cd src.
  2. Run this command for running tests php artisan dusk.

How to use the project

After the project is installed successfully on your machine on the main route you can find the related form and table of books and work with the project.