Initial commit of Flutter project

This commit is contained in:
2025-09-19 11:30:38 +05:30
parent 1f0ec17edc
commit 4a9ae0a3b3
28 changed files with 2033 additions and 594 deletions

20
lib/constants/api.dart Normal file
View File

@@ -0,0 +1,20 @@
class ApiConstants {
// Base URL
static const String baseUrl = 'https://backend.glowwheels.in/api';
// Auth
static String loginUrl = '$baseUrl/shop/login';
// Shop
static String shopDetails(String shopId) => '$baseUrl/shop/$shopId';
// Orders
static String ordersByShop(String shopId) => '$baseUrl/order/shop/$shopId';
static String assignServiceBoy(String orderId) => '$baseUrl/order/assign-serviceboy/$orderId';
static String updateOrderStatusByAdmin(String orderId) => '$baseUrl/order/update-status-admin/$orderId';
// Service Boy
static String serviceBoyDetails(String serviceBoyId) => '$baseUrl/service-boy/$serviceBoyId';
static String serviceBoysByShop(String shopId) => '$baseUrl/service-boy/shop/$shopId';
static String addServiceBoy = '$baseUrl/service-boy/add';
}