This repository serves as the External Data Source for the Aaliyah’s Collection Mobile Application. It hosts structured JSON files via GitHub Pages to simulate a RESTful API environment, providing critical data for products, reviews, categories, and user mocks.
The goal of this repository is to provide a reliable, globally accessible backend for the mobile application without the overhead of a full database server during development and testing.
The base URL for all endpoints is: https://salmamuzam.github.io/ecommerce_api/
| Endpoint | Description |
|---|---|
product.json |
The master catalog containing all product details, prices, and media links. |
category.json |
Metadata for fashion categories (Abayas, Hijabs, Kaftans, etc.). |
review.json |
User-generated reviews, star ratings, and testimonials. |
user.json |
Mock user data used for testing profile and authentication layouts. |
{
"id": 101,
"name": "Classic Black Abaya",
"price": "4500.00",
"category_id": 1,
"description": "Minimalist design with premium fabric...",
"thumbnail": "https://raw.githubusercontent.com/salmamuzam/.../abaya.jpg"
}
{
"id": 1,
"product_id": 101,
"username": "Salma",
"rating": 5,
"comment": "Perfect fit and very comfortable!"
}
To contribute or modify data:
git clone https://github.com/salmamuzam/ecommerce_api.git
cd ecommerce_api
Modify the .json files as needed.
Ensure no trailing commas or syntax errors exist.
git add .
git commit -m "feat: update product stock and reviews"
git push origin main
repository/
├── product.json # Product Catalog List
├── category.json # Category Metadata
├── review.json # Product Reviews
├── user.json # Test User Data
└── README.md # API Documentation