
Build a hospital management app with Laravel 12 and React, enabling manager login, create, read, update, and delete for doctors, hospitals, and specialists, and patient onboarding with appointment bookings.
Learn to set up the development environment for a Laravel 12 and React project by installing node, npm, composer, Visual Studio Code, MySQL, phpMyAdmin, and essential frontend and backend tools.
Create a fresh Laravel 12 backend api project for hospital management, configure MySQL and env file, run migrations, and prep for a React front end with Postman testing.
Create and migrate hospital management tables with Laravel artisan commands, align schema with ERD, define models and controllers, and implement foreign key relationships and indexing for efficient booking transaction queries.
Configure Laravel models to define fillable relationships among users, doctors, hospitals, and specialists, using belongs to, has many, and many-to-many via hospital specialist pivot, with soft deletes and photo storage.
Install Spatie user roles in a Laravel 12 app, create manager and customer roles, migrate, set up middleware and routes, and control access with role-based permissions for hospital management.
Implement Sanctum authentication to protect sensitive hospital data and specialist pages, using token or session methods, with api endpoints, middleware, and postman testing as a single page application.
Explore the MVC concept in Laravel, detailing how controllers bridge requests, models supply data, and views render with Blade or React API.
Explore the service repository pattern within an mvc framework using eloquent to separate business logic from controllers, enabling maintenance, testing, and multi-repository data handling across models, services, and repositories.
Implement the surface repository pattern across the hospital management app. Build specialist, hospital, doctor, and booking transaction repositories and services with a data access layer and sanctum-based authentication.
Develops a backend specialist repository to manage specialists, doctors, and hospitals, implementing get all, get by id, details, and create, update, delete operations with query optimization and eager loading.
Inject dependencies to access the specialist repository via the service container. Implement create, get all, get by id, update, and delete, with photo upload and storage handling.
Explore the hospital repository and service, implementing CRUD and API endpoints. Master the many-to-many hospital–specialist relationship with pivot tables, including attach, detach, and sync operations in backend processes.
Develop the doctor repository service to support get by id and create, read, update, delete operations, integrate hospital and specialist data, enable filtering by hospital and specialist, and apply validation.
Develop a booking transaction repository in Laravel 12 and React to fetch all bookings with eager loading of doctor, hospital, specialist, and patient data, enabling customer creation and manager updates.
Implement a Laravel booking transaction service with dependency injection, using doctor and booking repositories to create transactions, validate availability, compute price and taxes, and manage status awaiting approval or rejection.
Set up api endpoints for hospital management by creating resource routes for specialists, doctors, hospitals, and bookings; implement login, filtering, and dynamic routes via controller and service repository patterns.
Update doctor service to mediate between controller and repository, enabling filter by specialist and hospital, and provide get available slots logic for bookings with date and availability checks.
Develop a Laravel 12 specialist controller wired to index, store, update, and destroy with service and repository layers, resource responses, and form request validation including photo upload.
Build a hospital controller with CRUD operations using dependency injection for hospital service, returning hospital data with total doctors and specialists and lists of doctors and specialists via hospital resources.
Learn to build a Laravel doctor controller for hospital management, including filtering by specialist and hospital, form requests validation, eager loading, and available appointment slots.
Implement a hospital specialist controller with dependency injection and a service–repository architecture, including a detach workflow, to manage hospital specialists and support booking transactions with status updates.
Build and validate a booking transaction in Laravel 12 by wiring the order controller to a booking service with dependency injection and carbon date and time validation.
Learn to test and document api endpoints for specialists, doctors, and hospitals using Postman, building collections and environments, and performing get, post, put, and delete with bearer token authentication.
Explore testing a Laravel 12 api for hospital management, including CRUD operations on hospitals and their specialists, photo uploads, and attaching or detaching specialists with proper authorization.
Explore testing API doctor schedules: list all doctors, filter by hospital and specialist, handle authorization, and manage doctor availability, bookings, and updates.
Test API transaction and order flows in a Laravel and React hospital management app by building transaction and order endpoints, securing with Sanctum, handling authorization, and documenting with Postman.
Learn to build an auth repository as a data access layer in Laravel, implementing register and login with password hashing, roles (customer or manager), and sanctum token authentication.
Develop an auth service controller in Laravel 12, implementing register and login with validation, photo upload to storage, dependency injection, and token-based authentication with sanctum.
Modify api route endpoints with sanctum authentication and role-based access to support login, register, and token testing, grouping routes for managers and customers to manage specialists, doctors, and hospital data.
Seed and configure Laravel user roles with an artisan command, creating manager, customer, doctor, and insurance roles with permissions. Set up initial users for login and register via Postman.
Test api login and register flows with sanctum, using bearer tokens and authorization headers, validating manager and patient roles through postman and front-end integration using Vue or React.
Test API order transactions by simulating customer bookings with doctor ids, using Postman, validating headers and authorization, reviewing patient transactions, and completing orders in the React front-end workflow.
Set up course middleware to enable front-end integration with the backend. Implement the my order controller store to create transaction data for customers or patients, linking doctor and hospital.
Set up sanctum middleware and stateful domains to enable the frontend domain to access the backend API with support for credentials in a single-page application.
Download the react project, install dependencies with npm, and launch the front-end to connect to the back-end API using axios, react query, and protected routes for doctors and managers.
Test a react-based hospital management app with admin login, doctor and hospital data, patient transactions, and bookings and payments through backend and frontend.
Learn to use GitHub for your portfolio by uploading projects, creating repositories, and showcasing source code while managing collaboration and pull requests.
Belajar Laravel 12 untuk Backend Developer: Bangun Project Real-World & Portfolio Profesional
Kelas ini dirancang untuk kamu yang sudah mengenal Laravel dan ingin naik level sebagai backend developer profesional. Di kursus Laravel 12 ini, kamu akan membangun project real-world dari nol yang bisa kamu gunakan sebagai portfolio kerja full stack developer, atau bahkan langsung kamu jual ke klien.
Yang Akan Kamu Pelajari
Membuat backend dari awal, mulai dari perancangan ERD (Entity Relationship Diagram), indexing database MySQL, hingga optimasi query.
Menerapkan arsitektur service-repository pattern yang rapi, scalable, dan maintainable.
Membangun RESTful API Laravel 12 yang aman dengan Laravel Sanctum.
Mengelola hak akses pengguna menggunakan Spatie Permission yang sudah terbukti handal.
Proyek Utama: Sistem Manajemen Rumah Sakit
CRUD untuk data rumah sakit, dokter, spesialis, dan transaksi booking.
Fitur jadwal ketersediaan dokter per hari dan jam yang fleksibel.
Sistem user role untuk manager dan pasien dengan pembagian hak akses otomatis.
Template: Frontend React TypeScript Siap Pakai
Source code frontend berbasis React TypeScript sudah tersedia dan terhubung dengan API Laravel.
Menggunakan teknologi modern seperti Axios, React Router, React Query v5, custom hooks, dan localStorage.
Kamu bisa langsung fokus belajar backend tanpa harus membuat UI dari awal.
Manfaat Langsung untuk Karier
Hasil project bisa dijadikan portfolio profesional untuk melamar kerja sebagai backend atau full stack developer.
Cocok untuk kamu yang ingin mengembangkan dan menjual sistem manajemen rumah sakit ke klien.
Materi diajarkan dalam bahasa Indonesia dan sesuai dengan kebutuhan pasar kerja lokal maupun global.