This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export class HttpService<T> { | |
| constructor( | |
| private http: HttpClient, | |
| private url: string, | |
| ) { | |
| this.url = this.url.endsWith('/') ? this.url : this.url + '/'; | |
| } | |
| findAll(): Observable<T[]> { | |
| return this.http.get<T[]>(this.url); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | FROM node:14.1-alpine | |
| ENV NODE_ENV=production | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --production |