Workshop on understanding NestJS framework for building efficient, scalable Node.js server-side applications with Micro-Service Architecture. Nest fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Info: You can refer NestJS doc to learn more about the framework.
- Ubuntu 22.04 LTS Linux machine
- Git and GitHub account configured with SSH key
- Docker and Docker Compose.
- If anything is missing please check the Prerequisite of Workshop1. click here
- Fork the current repository.
- Clone your forked repository inside the
WORKSHOP
directory which was created during Workshop1.
- Download the follwing docker images to your local machine
-
docker pull node:18.16.0-alpine3.17
- Verify the image is pulled into your local machine
Output: v18.16.0
docker run --rm -ti node:18.16.0-alpine3.17 node -v
- Verify the image is pulled into your local machine
-
docker pull postgres:14
- Verify the image
Output: psql (PostgreSQL) 14.5
docker run --rm -ti postgres:14 psql -V
- Verify the image
-
docker pull dpage/pgadmin4
-
- Build all the docker images mentioned in
docker-compose
file. Follow the below steps.- Build all the docker images by runningthe below command.
docker-compose build
- Verify if all the containers start after the build is completed by running the below command.
docker-compose up
- Build all the docker images by runningthe below command.
- Install
ESLint
extension on your VS Code. - Install
Prettier - Code formatter
extension on your VS Code.
- Postman app is required to use the API Collection for testing the API's during the development.
- In this workshop you will understand and learn about NestJS framework which is a progressive Node.js framework used for building scalable server-side applications.
- You will know the concepts of Micro-Service.
- Build an Blog application API's for frontend using NestJS.
Time | Topics |
---|---|
09:00 - 10:15 | NestJS Working |
10:15 - 10:30 | [ Tea Break ] |
10:30 - 01:00 | NestJS Working |
1:00 - 2:00 | [ Break ] |
2:00 - 5:00 | NestJS Working |