Skip to content

andhikayuana/demo-si-perpus

Folders and files

NameName
Last commit message
Last commit date
Feb 28, 2021
Sep 24, 2020
Jul 13, 2022
Sep 28, 2020
Feb 28, 2021
Feb 28, 2021
Oct 3, 2020
Sep 24, 2020
Sep 24, 2020
Sep 24, 2020
Sep 24, 2020
Sep 24, 2020
Sep 24, 2020
Sep 24, 2020
Feb 28, 2021
Oct 16, 2020
Sep 24, 2020
Oct 3, 2020
Oct 3, 2020
Oct 8, 2020
Oct 8, 2020
Sep 24, 2020
Oct 8, 2020
Sep 24, 2020
Oct 3, 2020

Repository files navigation

DEMO SI Perpus (Simple)

Demo simpel membuat sistem perpus dengan Laravel dan VueJS

Kebutuhan

  • PHP 7.3
  • MySQL
  • Composer
  • NodeJS LTS

Cara Mennjalankan di Lokal

  • clone menggunakan git dan masuk ke direktori proyek
git clone [email protected]:andhikayuana/demo-si-perpus.git
cd demo-si-perpus
  • jalankan perintah berikut untuk instalasi dependensi php
composer install
  • jalankan perintah berikut untuk instalasi dependensi nodejs
npm install
  • jangan lupa buat database dan ubah konfigurasi dengan membuat file .env dari .env.example
cp .env.example .env
APP_NAME="SI Perpus"
APP_TIMEZONE=Asia/Jakarta

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE={{database_anda}}
DB_USERNAME={{user_dari_database_anda}}
DB_PASSWORD={{password_dari_database_anda}}

BASE_URL_API=http://localhost:8000/api/v1/
  • jangan lupa membuat APP_KEY dengan cara
php artisan key:generate
  • jalankan migrasi database dengan perintah
php artisan migrate
  • buat akun petugas dengan tinker
Psy Shell v0.10.4 (PHP 7.3.19 — cli) by Justin Hileman
>>> \App\User::create(['name' => 'Jarjit Singh', 'email' => '[email protected]', 'password' => \Hash::make('jarjit123!@#')])
=> App\User {#4081
     name: "Jarjit Singh",
     email: "[email protected]",
     updated_at: "2020-09-26 09:10:13",
     created_at: "2020-09-26 09:10:13",
     id: 1,
   }
>>> 
  • compile assets dengan perintah berikut (development)
npm run watch
  • jalankan server Laravel dengan perintah berikut
php artisan serve

Screenshot

Alt text

Releases

No releases published

Packages

No packages published