/node-nest

nodejs nestjs microservices, websockets, nodejs concepts, leetcodes, dsa and server side developments

Primary LanguageTypeScript

Nodejs/Nestjs Server side Developments

These are the microservices and server side developments with Nestjs and Nodejs

Tech Stacks

  • Nodejs
  • Nestjs
  • Nx Workspace
  • Mongoose
  • TypeORM
  • Prisma
  • MongoDB
  • Postgres
  • Docker
  • Jest
  • Nextjs

Deployed URLs

Table of Contents

Topic Source Type
nodejs concepts Source ⭐️ Nodejs concepts
nestjs-graphql-ms Source ⭐️ Nestjs + Graphql Microservices
nestjs-ecommerce Source ⭐️ Nestjs Ecommerce FullStack
node kafka docker Source ⭐️ Nodejs Kafka Docker Microservices
nest-advanced Source ⭐️ Nestjs + Nx Concepts
tiny nest + next Source Tiny Nestjs + Nextjs
nestjs-websockets Source Nestjs + Websockets
nestjs-ai-chatbot Source Nestjs + OpenAI + Nextjs
scaling ws using redis Source Nodejs + Redis
pure nodejs concepts Source Nodejs
custom mini ssg Source Static Side Generator
nodejs cpanel file upload Source Cpanel File upload
socketio realtime device track Source Socket.io Realtime Device Track
nestjs PM2 Source Nodejs Worker Threads & PM2
nestjs kafka sample Source Nestjs Kakfa sample
nestjs kafka microservices sample Source Nestjs Kakfa Microservices
node kafka producer & consumer Source Nodejs kafka producer consumer
node kafka conduktor Source Nodejs kafka conduktor
websocket upstash Source websocket, upstash, redis
nodejs load balancing Source nodejs, load balancing
nodejs NGINX Source nodejs, NGINX

Tips & Tricks

Express Router Global Snippet in VS Code

{
	"Typescript Express Router": {
		"scope": "javascript,typescript",
		"prefix": "router",
		"body": [
			"router.post(\"/\", (req : Request,res : Response) => {",
			"return res.json({})",
			"})"
		],
		"description": "typescript nodejs router"
	}
}

Check which process is using the port:

lsof -i :2181
sudo lsof -nP -iTCP:2181 | grep LISTEN

Check for Running Kafka or Zookeeper Processes:

ps aux | grep kafka
ps aux | grep zookeeper

Check background services

brew services list