During Bangkit Academy 2023 H1 – Cloud Computing, I built ReClothes-API:
a set of RESTful endpoints in Laravel to manage inventory, orders, and users
for a clothing resale platform. I also integrated Swagger UI so the Mobile
Dev team could explore and test every route in one place.
Role:
API Developer
Tech Stack:
PHP · Laravel · MySQL · Docker
Program:
Bangkit Academy 2023 H1
Documentation:
Swagger UI
Key Features
CRUD endpoints for products, orders & user authentication.
JWT-based auth guards with role-based access controls.
Fully documented in Swagger—live testing in browser.
Docker deployment with light-size
Sample Endpoint (routes/api.php)
// Get all products
Route::get('/products', [ProductController::class, 'index']);
// Create new order
Route::post('/orders', [OrderController::class, 'store'])
->middleware('auth:api');
// Swagger annotation example
/**
* @OA\Get(
* path="/api/products",
* summary="List all products",
* @OA\Response(response="200", description="Success")
* )
*/