NS PHONES API Test

✅ Database connection successful

✅ Users table: 1 user(s)

✅ Products table: 15 product(s)

✅ Categories table: 6 categories

✅ Settings table: 11 settings

Settings Values:

business_name = NS PHONES
owner_name = Santos Nkansah
phone = 054 724 2020
location_primary = Koforidua
location_secondary = Accra
email = info@nsphones.com
currency = GHS
tax_rate = 0
timezone = Africa/Accra
theme = dark
language = en

Admin User:

Array
(
    [id] => 1
    [username] => admin
    [email] => admin@nsphones.com
    [full_name] => Santos Nkansah
    [role] => admin
    [phone] => 054 724 2020
    [location] => Koforidua
)

Database Tables (21):

• audit_logs
• categories
• customers
• expenses
• faqs
• featured_products
• inventory_history
• notifications
• order_items
• orders
• product_images
• products
• promotions
• repairs
• sales
• sales_items
• settings
• sqlite_sequence
• stock_transfers
• swaps
• users

Directory Permissions:

✅ database/ - 0755

✅ uploads/ - 0755

✅ api/ - 0755

API Endpoints:

✅ /api/auth.php

✅ /api/dashboard.php

✅ /api/products.php

✅ /api/sales.php

✅ /api/customers.php

✅ /api/repairs.php

✅ /api/swaps.php

✅ /api/staff.php

✅ /api/orders.php

✅ /api/expenses.php

✅ /api/reports.php

✅ /api/promotions.php

✅ /api/notifications.php

✅ /api/settings.php

✅ /api/upload.php

✅ /api/categories.php

✅ /api/audit.php

✅ /api/store.php


Test completed at 2026-01-28 21:48:35

← Go to Management System | Go to Store →