typeorm / typescript-express-example

Example how to use Express and TypeORM with TypeScript
361 stars 100 forks source link

RepositoryNotFoundError: No repository for "Post" was found. Looks like this entity is not registered in current "default" connection? #12

Closed festiveelephantseal closed 3 years ago

festiveelephantseal commented 3 years ago

after cloning the project and replacing the database details i recieve this error when performing a GET request to http://localhost:3000/posts

alexytsu commented 3 years ago

How did this get resolved? I'm getting the same error.