The store rents out books and equipment to users.
- ERD for the database. Located
project_directory/public/images/ERD.png
- Endpoints
- Postman collection. Located
project_directory/public/RentalStore.postman_collection.json
- Check Logs. Command to run is seen below
php artisan check:logs
- PHP 7.4
- composer
You have to clone this repo using either HTTPS
or SSH
- HTTPS
git clone https://github.com/adaugochi/rental-store-api.git
- SSH
git clone git@github.com:adaugochi/rental-store-api.git
composer install
Sample Virtual Host Config for Apache
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot "<WebServer Root Dir>/rental-store-api/public"
ServerName local.manup.com
<Directory <WebServer Root Dir>/rental-store-api/public>
AllowOverride all
Options -MultiViews
Require all granted
</Directory>
</VirtualHost>
Make a copy of .env.example
to .env
in the env directory.
CREATE DATABASE rental_store;
php artisan migrate
php artisan migrate --path=database/migrations/filename.php
php artisan db:seed --class=UserRentSeeder
You can run the application in development mode by running this command from the project directory:
php artisan serve
- Adaa Mgbede adaamgbede@gmail.com
- Adaa Mgbede adaamgbede@gmail.com