I am trying to get started with TypeORM, but cannot get createConnection to work. I run the default tpyeorm init server file, but there is not error or logging shown, nor is the postgres DB updated. index.ts ormconfig.json (note: I changed the postgres password to ‘root’) running start gives the following output: Note that none of the other logging statements
Tag: typeorm
NestJS controller not mapped
So I have an API that will be deployed in a docker container. This API has the authentications controller, simple and not something special. When I start up the API in development mode on my local machine, the auth controller will be found and everything is working fine. Same for building and running it on my local machine. But when
Test NestJS Service against Actual Database
I would like to be able to test my Nest service against an actual database. I understand that most unit tests should use a mock object, but it also, at times, makes sense to test against the database itself. I have searched through SO and the GH issues for Nest, and am starting to reach the transitive closure of all