This Repository is about NestJS Local Development with Docker (Hot Reloading and Debugging with Docker-compose).
The Youtube Video for this repository can be found here:
This Repository is a clone of the Project "NestJS Auth Jwt " (see more under Concept of the series).
In the folder 'postman-collection' you find a collection of postman requests that you can import into postman and execute against the api.
Builds, (re)creates, starts, and attaches to containers for a service.
docker-compose up
Information:
- Database can be accessed with PG-Admin via
localhost:5050
and then connect your database (see youtube playlist) - NestJS Api can be accessed on
localhost:8080/api
(see youtube playlist)
With every series we clone/fork the last project, so that the code is always up to date with the according project.
List in Order with all Youtube Playlists and Repository Links:
-
NestJS Dockerized
Clone/Fork of: None
Repo-Link: https://github.com/ThomasOliver545/nestjs-dockerized
Youtube-Playlist: https://www.youtube.com/playlist?list=PLVfq1luIZbSlIzPhcm6bBV2h82nSYS6gK -
NestJS Auth Jwt
Clone/Fork of: 1. NestJS Dockerized
Repo-Link: https://github.com/ThomasOliver545/nestjs-auth-jwt
Youtube-Playlist: https://www.youtube.com/playlist?list=PLVfq1luIZbSmjsLsM04De_eltKTX0lz7f -
NestJS Local Development with Docker-Compose (Hot Reload and Debugging) Clone/Fork of: 02. NestJS Auth Jwt Repo-Link: https://github.com/ThomasOliver545/nestjs-local-development-docker-compose-hot-reload Youtube-Video: https://www.youtube.com/watch?v=CLqlCkvAKKQ
- NPM
- Node.js
- NestJS
- Docker
Basic Docker Commands:
List your docker images: docker images
List your running containers: docker ps
List also stopped containers: docker ps -a
Kill a running container: docker kill <id of container from docker ps (first 3 letters)>
, eg docker kill fea