Giter Site home page Giter Site logo

digitalnomad91 / conf42-event-driven-nestjs-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dkhorev/conf42-event-driven-nestjs-demo

0.0 0.0 0.0 1.06 MB

Join me for a talk on developing scalable event-driven applications with NestJS. If you’ve never tried NestJS - I’ll talk briefly about its advantages and use cases it can solve for you.

JavaScript 3.59% TypeScript 92.64% Makefile 3.26% Dockerfile 0.52%

conf42-event-driven-nestjs-demo's Introduction

Scalable event-driven applications with NestJS (demo)

Join me for a talk on developing scalable event-driven applications with NestJS.

An article based on my talk can be found at Medium - Build Scalable Event-Driven Applications With Nest.js.

If you’ve never tried NestJS - I’ll talk briefly about its advantages and use cases it can solve for you.

We’ll explore a hands-on example of scalability issues that can happen and the common approaches to solving them.

Thanks and see you.

Starting the app

Install dependencies:
npm i

Pull Redis container:
docker pull redis:7-alpine

Build the application container:
DOCKER_BUILDKIT=1 docker build --pull -t conf42-demo -f docker/Dockerfile .

Start the stack: use Makefile commands

start:
	docker-compose up -d

stop:
	docker-compose down

start-issue1:
	docker-compose -f docker-compose-issue1.yml up -d

stop-issue1:
	docker-compose -f docker-compose-issue1.yml down

start-step1:
	docker-compose -f docker-compose-step1.yml up -d

stop-step1:
	docker-compose -f docker-compose-step1.yml down

start-step2:
	docker-compose -f docker-compose-step2.yml up -d

stop-step2:
	docker-compose -f docker-compose-step2.yml down

watch:
	docker logs -f conf42-event-driven-nestjs-demo_worker_1

watch-cron:
	docker logs -f conf42-event-driven-nestjs-demo_cron_1

monitor:
	npm run start:monitor

conf42-event-driven-nestjs-demo's People

Contributors

dkhorev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.