The project is a collection of endpoints for a Book and Equipment Rental System. A postman collection for the endpoints can be found at https://documenter.getpostman.com/view/22569385/VUr1JDGK. A postman collection dump is also available in the root of the project.
Clone the repository to your local machine via https by running the terminal command below.
git clone https://github.com/Ojsholly/rental-system.git
Create your MySQL database and note down the required connection parameters. (DB Host, Username, Password, Name)
Navigate to the project root directory via terminal and run the following command.
composer install
Run the following command
cp .env.example .env
This should create an exact copy of the .env.example file. Name the newly created file .env and update it with your local environment variables (database connection info, stateful domains and others).
php artisan key:generate
php artisan migrate --seed
php artisan test