A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
How to create secret in kubernetes - kubectl create secret docker-registry gcr-json-key --docker-server=us-east4-docker.pkg.dev --docker-username=_json_key --docker-password="$(cat ./sleepr-407812-46f97d053087.json)" --docker-email=mint03sanzz@gmail.com
[--docker-server=]: Instructions Configuration Docker
kubeclt patch serviceaccount default -p '{"imagePullSecrets": [{"name": "gcr-json-key"}]}' kubectl create deployment auth --image=us-east4-docker.pkg.dev/sleepr-407812/auth/production --dry-run=client -o yaml > deployment.yaml
kubectl create deployment payments --image=us-east4-docker.pkg.dev/sleepr-407812/payments/production --dry-run=client -o yaml > deployment.yaml
kubectl create deployment notifications --image=us-east4-docker.pkg.dev/sleepr-407812/notifications/production --dry-run=client -o yaml > deployment.yaml
kubectl create deployment reservations --image=us-east4-docker.pkg.dev/sleepr-407812/reservations/production --dry-run=client -o yaml > deployment.yaml
kubectl create secret generic mongodb --from-literal=connectionString=mongodb+srv://mint03sanzz:9xpsS2oc6YpOp7qs@sleepr.ont5poq.mongodb.net/
kubectl create secret generic stripe --from-literal=apiKey=sk_test_51OM0QuLkuQAgHu1cxz16tlVmEbY2Uq8EMRUNmLYH4jHNjJhtJvWdPFn8a40ZfQ3m7cf9B5CSrGBPEvCrXVLFaspP00Ar8GYpqw
kubectl get secrets kubectl get secret mongodb -o yaml: watch details secret in mongodb.
kubectl create service clusterip notifications --tcp=3000 --dry-run=client -o yaml > templates/notifications/service.yaml kubectl create service clusterip payments --tcp=3001 --dry-run=client -o yaml > templates/payments/service.yaml kubectl create service clusterip auth --tcp=3002,3003 --dry-run=client -o yaml > templates/auth/service.yaml kubectl create service nodeport reservations --tcp=3004 --dry-run=client -o yaml > templates/reservations/service.yaml
helm upgrade sleepr .
gcloud auth application-default login
gcloud container clusters get-credentials sleepr --region us-central1 --project sleepr-407812
kubectl get namespaces kubectl get po -n kube-system
kubectl config get-contexts
Current gke_sleepr-407812_us-central1_sleepr docker-desktop
kubectl config use-context docker-desktop
gke_sleepr-407812_us-central1_sleepr Current docker-desktop
kubectl edit secret google
convert string to base64: echo -n "Hello World!" | base64 then edited, :wq exit
kubectl rollout restart deployment notifications
kubectl get ing