Example Application Interface using NestJS framework in TypeScript
This example showcases Repository Pattern in Hexagonal Architecture (also known as Clean Architecture). Here we have two Entities - Books and Authors, whose relationships have been exploited to create CRUD endpoint in REST under OpenAPI standard.
-
Install all the project dependency using Yarn:
$ yarn
-
Run the application from command prompt:
$ yarn start
- Run the following command to initiate Unit test:
$ yarn test
- Run the following command to initiate E2E test:
$ yarn test:e2e
© MIT License