turbo
2506cad7 - feat(examples): add `with-nestjs` example (#8162)

Commit
1 year ago
feat(examples): add `with-nestjs` example (#8162) ### Description Related issue: #8131 I recently created an issue where I explained why it's useful to use `Nestjs` with `Turborepo`. This PR adds a new example integration with `nestjs`! I recorded a short video showing how it's working: https://github.com/vercel/turbo/assets/44310540/8261e72d-6586-4a27-ae6e-e1ab943d2c3a ### Testing Instructions This new example is located at `./examples/with-nestjs/`. It uses a basic `turborepo nextjs` for `apps/web` and a customized `nestjs` app located at `apps/api`. To launch all the apps and packages in dev mode, run `pnpm run dev`. The `apps/api` server includes a basic resource (CRUD) example where the `apps/web` use the `apps/api` `links.findAll` API methods to retrieve the displayed links. They use the same package `@repo/api` to retrieve the shared `entity` and `dto`s. Even if the `@repo/api` mainly uses the `nestjs` configuration, it can be used for Nextjs and/or any other kind of apps. For more information, I documented it in the `root/README` > That's it for now. I tried not to put too many things in this example and follow the flow of other examples... > Please let me know if I missed anything. I'll be glad to have your feedback. > > cc: @anthonyshew Will close #8131 --------- Co-authored-by: Anthony Shew <anthony.shew@vercel.com> Co-authored-by: Anthony Shew <35677084+anthonyshew@users.noreply.github.com>
Author
Parents
Loading