chore: restructure project into backend and frontend folders

- Move all frontend code to frontend/ directory
- Add backend/ with Go project structure (cmd, internal, pkg)
- Add docker-compose.yml for orchestration
This commit is contained in:
Egor Pozharov
2026-04-14 13:14:28 +06:00
parent 11e12f964d
commit 4e0899d3ce
54 changed files with 779 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
export type PickupLocation = 'warehouse' | 'symbat' | 'nursaya' | 'galaktika';
export type DeliveryStatus = 'new' | 'delivered';
export interface Delivery {
id: string;
date: string; // DD-MM-YYYY
pickupLocation: PickupLocation;
productName: string;
address: string;
phone: string;
additionalPhone?: string;
hasElevator: boolean;
comment: string;
status: DeliveryStatus;
createdAt: number;
updatedAt: number;
}
export const pickupLocationLabels: Record<PickupLocation, string> = {
warehouse: 'Склад',
symbat: 'Сымбат',
nursaya: 'Нурсая',
galaktika: 'Галактика',
};
export const statusLabels: Record<DeliveryStatus, string> = {
new: 'Новое',
delivered: 'Доставлено',
};