Skip to content

kalfian/Stiki-E-Appointment-Backend

Repository files navigation

Stiki E-Appointment Backend

Requirement

  • PHP 8.0 or higher
  • MySQL 5.5 or higher
  • Laravel 9

Installation

  1. Clone Project
  2. Install laravel vendor
composer install
  1. Create .env and edit the credential
cp .env.example .env
  1. Link Storage
php artisan storage:link

or (if you use shared hosting)

ln -s storage-project-dir/storage/app/public public-dir/storage
  1. Create laravel key
php artisan key:generate
  1. Dump Database
php artisan migrate

Host on Shared Hosting

  1. Upload all file to root folder
  2. Copy public folder to public_html
  3. change index.php in public_html
require __DIR__.'/../vendor/autoload.php';
$app = require_once __DIR__.'/../bootstrap/app.php';

to

require __DIR__.'/../{host-folder}/vendor/autoload.php';
$app = require_once __DIR__.'/../{host-folder}/bootstrap/app.php';

Patch

  1. Pull from master on this repositories
  2. Run migration to makesure all table already created
php artisan migrate

if there is alert about migrate in production just answer yes

Clear cache

php artisan config:clear
php artisan cache:clear
composer dump-autoload
php artisan view:clear
php artisan route:clear

Task

Superadmin for admin stiki

  • Core
    • Admin Bootstrap
    • Login Page
  • Setting Page
    • View Setting
    • Edit Setting
  • Superadmin (aka Kaprodi)
    • View Superadmin
    • Create Superadmin
    • Detail Superadmin
  • Student
    • View Student
    • Create Student
    • View Detail Student
    • Edit Student
    • Reset password student
    • Import Student from CSV
  • Lecture
    • View Lecture
    • Create Lecture
    • View Detail Lecture
    • Create Lecture
    • Edit Lecture
    • Reset password lecture
    • Import lecture from csv
  • Activity (Role: Admin)
    • Create Activity
    • Get Detail Activity
    • Edit Activity
    • Delete Activity
    • Notification Activity Student
    • Notification Activity Lecture
  • Logbook
    • Get Activity Logbook

API

  • Core

    • Core FCM
    • Core realtime chat
    • Realtime FCM
  • Notification

    • Get Notification
    • Get Notification Detail
    • Read Notification
    • Create Notification
  • Student

    • Activity
      • Get Activity
      • Get Detail Activity
      • Notification activity
    • Activity Appointment
      • Get Appointment
      • Get Detail Appointment
      • Create appointment
      • Last 5 Nearest Appointment
      • Notification appointment
    • Appointment Chat
      • Get Detail Chat
      • Publish Chat
      • Notification Chat
    • Logbook
      • Get Logbook
      • Get Logbook Detail
      • Edit Logbook
      • Create Logbook
    • Other
      • Get Profile
  • Lecture

    • Activity
      • Get Activity
      • Get Detail Activity
      • Notification activity
    • Activity Appointment
      • Get Appointment
      • Get Detail Appointment
      • Notification appointment
    • Appointment Chat
      • Get Detail Chat
      • Publish Chat
    • Logbook
      • Get Logbook Detail By Participant ID
      • Update Logbook (comment)
    • Other
      • Get Profile
      • Get Notifications
      • Get Notification Detail

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published