A repos I used to learn NestJS.
Videos:
- Fireship: https://www.youtube.com/watch?v=0M8AYU_hPas
- Acedemind https://www.youtube.com/watch?v=F_oOtaxb0L8
npm install -g @nestjs/cli
nest new project-name
Run the project
cd project-name
npm run start:dev
newman run .\LearnNestJS.postman_collection.json
docker build -t erabliereapi/product-api .
docker run -d -p 3000:3000 erabliereapi/product-api
kubectl create namespace crudapp
kubectl apply -f .\k8s\deployment.yaml -n crudapp
also deploy on of the service in the k8s folder. nodeport for local cluster et clusterip for the cloud.
See accessToken controller.