beeman‎.‎dev | Building API's with NestJS and Nx - Building the BEEHIVE Platform with BEEMAN.DEV - BLS001 @beeman-dev | Uploaded August 2020 | Updated October 2024, 1 hour ago.
Building API's with NestJS and Nx. In this live stream we will go over the 5-post blog series about Building API's with NestJS and Nx - BLS001
The blog series can be found here dev.to/beeman/introduction-to-building-api-s-with-nestjs-and-nrwl-nx-1l2b
You can find the repo here: github.com/beeman/beehive
💡 Subscribe to get all updates: 👉bit.ly/3fR8Exo
Feel free to ask any questions in the commands! Also, feel free to share any useful timestamps I can list here!
Timestamps
[0:00] Introduction
[1:33] How to Create a new Nx Workspace.
[5:40] How to Configure default branch to be 'main' in Nx Workspace.
[6:20] Configure Prettier configuration and re-format the code.
[7:14] Setup husky and lint-staged for automated code formatting.
[9:44] Add a NestJS API to Nx Workspace/
[14:01] Create an API application using the @nrwl/nestjs:app schematic.
[18:40] Look at what gets generated by the previous schematic (sorry for my computer being so slow 🙄).
[21:23] Run the API.
[23:32] Test to see if the API is working.
[23:50] Create the core library using the @nrwl/nestjs:lib schematic.
[26:03] Answer Kerry's question about why I prefer using NestJS with Nx, and not the regular Nest starter.
[28:17] Use the Core library in our AppModule.
[30:21] Install @nestjs/config and joi.
[33:02] Configure @nestjs/config and joi.
[37:07] Create a .env file and add it to gitignore
[39:20] Use ConfigService in main.ts
[41:53] Add GraphQL to NestJS API in Nx Workspace
[45:25] Import and configure GraphQLModule in CoreModule
[52:40] Implement CoreResolver to fix the "Query root type must be provided" error
[56:15] Prepare start and build run-scripts to prepare deployment to Heroku
[57:49] Deploy the NestJS API to Heroku
đź’ˇFollow Me!
Follow me on Dev: dev.to/beeman
Follow me on GitHub: github.com/beeman
Follow me on Twitter: twitter.com/beeman_nl
#BEEMANDEV
Building API's with NestJS and Nx. In this live stream we will go over the 5-post blog series about Building API's with NestJS and Nx - BLS001
The blog series can be found here dev.to/beeman/introduction-to-building-api-s-with-nestjs-and-nrwl-nx-1l2b
You can find the repo here: github.com/beeman/beehive
💡 Subscribe to get all updates: 👉bit.ly/3fR8Exo
Feel free to ask any questions in the commands! Also, feel free to share any useful timestamps I can list here!
Timestamps
[0:00] Introduction
[1:33] How to Create a new Nx Workspace.
[5:40] How to Configure default branch to be 'main' in Nx Workspace.
[6:20] Configure Prettier configuration and re-format the code.
[7:14] Setup husky and lint-staged for automated code formatting.
[9:44] Add a NestJS API to Nx Workspace/
[14:01] Create an API application using the @nrwl/nestjs:app schematic.
[18:40] Look at what gets generated by the previous schematic (sorry for my computer being so slow 🙄).
[21:23] Run the API.
[23:32] Test to see if the API is working.
[23:50] Create the core library using the @nrwl/nestjs:lib schematic.
[26:03] Answer Kerry's question about why I prefer using NestJS with Nx, and not the regular Nest starter.
[28:17] Use the Core library in our AppModule.
[30:21] Install @nestjs/config and joi.
[33:02] Configure @nestjs/config and joi.
[37:07] Create a .env file and add it to gitignore
[39:20] Use ConfigService in main.ts
[41:53] Add GraphQL to NestJS API in Nx Workspace
[45:25] Import and configure GraphQLModule in CoreModule
[52:40] Implement CoreResolver to fix the "Query root type must be provided" error
[56:15] Prepare start and build run-scripts to prepare deployment to Heroku
[57:49] Deploy the NestJS API to Heroku
đź’ˇFollow Me!
Follow me on Dev: dev.to/beeman
Follow me on GitHub: github.com/beeman
Follow me on Twitter: twitter.com/beeman_nl
#BEEMANDEV