-
TypeScript, o início, de forma prática | MasterClass #07 - https://www.youtube.com/watch?v=0mYq5LrQN1s
-
cd example-1/backend
-
yarn install
-
yarn tsc src/index.ts
-
node src/index.js
-
yarn tsc --init
(this will create the tsconfig.json) -
change tsconfig.json to uncomment
outDir
, this will put the compiled file on other location -
yarn tsc
(to compile) -
yarn dev:server
-
cd example-1/frontend
-
yarn start
- Construindo um app fullstack com o melhor do TypeScript - https://www.youtube.com/watch?v=fx7JqqCw1qg
- exemplo com zod, tsx, tsup e vitest
cd example-2
npm run start