Laravel

API Console v1.0.0

Overview

System Health

  • Database Operational
  • Storage Operational
  • Cache Operational
  • Routes Operational
  • Filesystem Operational

Runtime Info

  • Laravel 13.18.1
  • PHP 8.3.6
  • Memory Peak 2 MB
  • Execution Time 19.51 ms
  • Server nginx/1.24.0
  • Timezone UTC
  • Environment production
  • Debug Mode False

Base URL

https://api.tapbingo.my.id

Endpoints

Auth (4 endpoints)

POST /api/auth/register
POST /api/auth/login
POST /api/auth/logout
GET /api/auth/me

Dashboard (1 endpoints)

GET /api/dashboard/stats

Users (7 endpoints)

GET /api/users/pending
PUT /api/users/{id}/status
GET /api/users
POST /api/users
GET /api/users/{user}
PUT /api/users/{user}
DELETE /api/users/{user}

Courses (14 endpoints)

GET /api/courses
GET /api/courses/{id}
GET /api/courses/{id}/monitoring
POST /api/courses
PUT /api/courses/{id}
DELETE /api/courses/{id}
GET /api/courses/{course}/enrollments
POST /api/courses/{course}/enrollments
GET /api/courses/{courseId}/materials
GET /api/courses/{courseId}/materials/{id}
GET /api/courses/{courseId}/materials/{id}/pdf
POST /api/courses/{courseId}/materials
PUT /api/courses/{courseId}/materials/{id}
DELETE /api/courses/{courseId}/materials/{id}

Materials (4 endpoints)

POST /api/materials/{materialId}/submissions
POST /api/materials/{materialId}/start-read
POST /api/materials/{materialId}/read
GET /api/materials/{materialId}/my-submission

Submissions (1 endpoints)

GET /api/submissions/history

Request Builder

Experimental Feature

The Request Builder is disabled by default to prevent unintended API requests in production. Ensure you have authorization before enabling.

Status: - Latency: -
Waiting for request...

Architecture Decision Records

Stateless Authentication

Using Laravel Sanctum Bearer Token for seamless cross-origin requests.

PDF Streaming

Avoids storage:link requirement, ideal for InfinityFree hosting constraints.

Queue

Sync queue driver utilized due to shared hosting background process limitations.

Cache & Session

File driver implemented for zero-configuration compatibility.

Deployment

Separated Frontend & Backend for independent scaling and Vercel hosting.

Request Flow

React Frontend
↓ fetch()
Laravel Route
↓ Sanctum Auth
Controller Logic
↓ Eloquent ORM
MySQL Database