WIP: Docker

This commit is contained in:
aditya.chandel
2025-01-22 16:56:18 -07:00
parent 494aba24c6
commit 844b5070aa
11 changed files with 50 additions and 26 deletions
@@ -6,12 +6,13 @@ import { Shelf } from '../model/shelf.model';
import { SortOption } from '../model/sort.model';
import { BookService } from './book.service';
import { ShelfState } from '../model/state/shelf-state.model';
import {API_CONFIG} from '../../config/api-config';
@Injectable({
providedIn: 'root',
})
export class ShelfService {
private readonly url = 'http://localhost:8080/v1/shelf';
private readonly url = `${API_CONFIG.BASE_URL}/v1/shelf`;
private shelfStateSubject = new BehaviorSubject<ShelfState>({
shelves: null,
loaded: false,