/Laravel-Book-Management

Book Management App with Laravel Framework from scratch.

Primary LanguageCSS


Laravel Book Management

Description

Book Management App with Laravel Framework from scratch.

Features

  • Manage Users
  • Manage Categories
  • Manage Books
  • Manage Orders

Environment

To run this project you need to upload database and add following environment variables to your .env file.

APP_NAME=BookManagement
APP_ENV=production
APP_KEY=base64:lxf3F2S36U/w6CbZzhHlT5yWUzpJ+soV9gRtCYomGW8=
APP_DEBUG=false
APP_URL=https://domain.com

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=database_user
DB_PASSWORD=database_password

Installation

Before uploading the project, run this command:

php artisan cache:clear;
composer install --optimize-autoloader --no-dev;

Option:

php artisan route:cache

If you experience the error Unable to prepare route [*/*] for serialization. Uses Closure. Then skip the command. Or if you still want to caching the route, you have to eliminate the cause of the error above, namely the existence of a route definition that does not use a controller but uses Closure directly on the route, the use of closures in route definitions means that we cannot caching routes.

Screenshots

Tech Stack

  • Laravel
  • Visual Studio Code
  • Docker
  • Nginx
  • MariaDB
  • DBeaver