Skip to content

A digital library application uses background jobs to process the return of each copy of a borrowed book.

Notifications You must be signed in to change notification settings

presidenwashil/digital-library

Repository files navigation

System requirement

  1. PHP 8.1+
  2. Composer 2+
  3. MariaDB 10.4/MySQL 5.7

Quick setup

1. Install projek

via SSH

git clone [email protected]:presidenwashil/digital-library.git "digital-library"

via HTTPS

git clone https://github.com/presidenwashil/digital-library.git "digital-library"

Kemudian masuk ke directory dan install dependency.

cd "digital-library"
composer install
npm install

2. Setup environment

Copy file .env.example ke .env

Linux/Mac OS

cp .env.example .env

Windows (CMD)

copy .env.example .env

Windows (Powershell)

Copy-Item .env.example -Destination .env

Kemudian konfigurasi isi .env sesuai dengan kebutuhan

3. Migrasi database

Jalankan perintah berikut untuk melakukan migrasi database, pastikan nama database sudah benar dan sesuai.

php artisan migrate

4. Menjalankan Projek

Jalankan perintah berikut ini untuk menjalankan server laravel.

php artisan serve

Jalankan perintah berikut ini agar style dapat diterapkan dengan baik menggunakan vite.

npm run dev

Pada project ini terdapat fungsi yang berjalan di belakang layar (background-job) gunakan perintah berikut.

php artisan queue:work

About

A digital library application uses background jobs to process the return of each copy of a borrowed book.

Topics

Resources

Stars

Watchers

Forks

Languages