We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Angular + tRPC: Easy Typesafe API's | Evan Payne | ng-conf Webinar
Create a fully typesafe API with Angular and tRPC, Learn to manage dependencies with Nx, and efficiently build a scalable API with valid types and error-free code using Zod.
- Use Nx and tRPC to create a fully typesafe API in TypeScript.
- Create a monorepo for the project to manage dependencies.
- Use generators like Express and Nx to run the back-end.
- Create a router for the back-end using tRPC and TypeScript.
- Use TypeScript to define the types of inputs and outputs for the API.
- Use Zod to validate the types and guard against errors.
-
Use the
async/awaitsyntax to make the code more readable. -
Use the
observablesyntax to react to changes in the state. -
Use the
switchMapoperator to handle multiple requests at the same time. -
Use the
EFR(Enemy, Friend, Ranger) package to manage the back-end and API. -
Use the
алізаціїpackage to validate the data and ensure it meets the required types. -
Use the
ng-confcommand to generate the TypeScript files and compile them. -
Use the
ng servecommand to run the application and see the output. -
Use the
ng buildcommand to build the application and generate a production-ready file. -
Use the
ng testcommand to run the tests and see the test results. -
Use the
ng e2ecommand to run the end-to-end tests and see the test results. -
Use the
ng lintcommand to run the linter and see the linter results. -
Use the
ng i18ncommand to run the internationalization tool and see the translation results. -
Use the
ng stylelintcommand to run the stylelint tool and see the stylelint results. -
Use the
ng prettiercommand to run the prettier tool and see the prettier results. -
Use the
ng yocommand to generate a new file with the given name. -
Use the
ng prefixcommand to prefix all the files with the given prefix. -
Use the
ng suffixcommand to suffix all the files with the given suffix. -
Use the
ng mkdircommand to create a new directory with the given name. -
Use the
ng rmdircommand to remove a directory with the given name. -
Use the
ng lscommand to list the files and directories in the current directory. -
Use the
ng treecommand to display the file tree. -
Use the
ng rootcommand to display the root directory. -
Use the
ng synccommand to synchronize the file system with the file system. -
Use the
ng updatecommand to update the file system to the latest version. -
Use the
ng diffcommand to display the differences between the two versions. -
Use the
ng mergecommand to merge the two versions. -
Use the
ng rmcommand to remove files and directories. -
Use the
ng cpcommand to copy files and directories. -
Use the
ng mvcommand to move files and directories. -
Use the
ng mkdircommand to create a new directory. -
Use the
ng rmdircommand to remove a directory. -
Use the
ng lscommand to list the files and directories. -
Use the
ng treecommand to display the file tree. -
Use the
ng rootcommand to display the root directory. -
Use the
ng synccommand to synchronize the file system with the file system. -
Use the
ng updatecommand to update the file system to the latest version. -
Use the
ng diffcommand to display the differences between the two versions. -
Use the
ng mergecommand to merge the two versions. -
Use the
ng rmcommand to remove files and directories. -
Use the
ng cpcommand to copy files and directories. -
Use the
ng mvcommand to move files and directories. -
Use the
ng touchcommand to create a new file.