title: Is there a way (or best practice) to share my TypeORM models with the frontend of my code without complete duplication?
body: <p>I would like to use the entities I created with TypeORM in the front-end as well. Is there a clean way of doing this? Or should I keep proceeding as I am.</p>
  
  <p>At this point, my file structure looks as so (Angular 8 on the front-end): </p>
  
  <pre><code>/server
    /entity
      ExampleEntity.ts
  /app
    /entity
      Example.ts
  </code></pre>
  
  <p>They both have the same content, but the front-end one is lacking all TypeORM constructs.</p>