TypeORM with a Custom Repository
MIT License
An example of how to use a custom repository of TypeORM within Nest.js 🚨 NOTICE 🚨 this example now works with TypeORM v0.3.x for previous version check out v1.0.0
Clone the project
git clone https://github.com/leosuncin/nest-typeorm-custom-repository.git
Go to the project directory
cd nest-typeorm-custom-repository
Install dependencies
yarn install
Start the server
yarn start:dev
To run unit tests, run the following command:
pnpm test
To run e2e tests (the MySQL instance must be available), run the following command:
pnpm test:e2e
Server: Typescript, SQLite, Nest.js, TypeORM
Test: Jest, SuperTest
👤 Jaime Leonardo Suncin Cruz
Give a ⭐️ if this project helped you!
Here are some more example projects with Nest.js
Release under the terms of MIT