npx create-next-app@latest --ts
nest new <project-name>
NESTjs cli
(order create is important)
- create module
nest g mo <serviceName>
- create controller
nest g co <serviceName>
- create service
nest g s <serviceName>
npx hardhat
Hardhat Cli
- create local node
npx hardhat node
- deploy contract (default localhost)
npx hardhat run scripts/<"deployContract">
- deploy contract with (select network)
npx hardhat run scripts/<"deployContract"> --network <"network">
image & container
docker buid ...
docker run ...
!MUST cd to right directory
- Up compose (run in background)
docker-compose up -d
- Down compose
docker-compose down