Add services and work on styling

This commit is contained in:
oaklake89 committed 2026-08-03 17:55:34 +00:00
1 parent 3abc7ec6d1
commit 50a87f47d3
13 files changed
+300 -339

No files matched your search

@@ -0,0 +1,18 @@
import { inject, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
export interface ShipmentResponse {
message: string;
}
@Injectable({
providedIn: 'root'
})
export class ShipmentService {
private readonly http = inject(HttpClient);
trackAndTrace(): Observable<ShipmentResponse> {
return this.http.get<ShipmentResponse>('/rest/Shipment/v1.0/trackandtrace');
}
}