Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

NestJS example with using GraphQL (schema stitching, schema reload, dataloader, upload files, subscriptions, response cache), RabbitMQ, Redis, Websocket, JWT authentication, ESLint 9

License

NotificationsYou must be signed in to change notification settings

tkosminov/nestjs-example

Repository files navigation

NestJS example with using GraphQL (schema stitching, schema reload, dataloader, upload files, subscriptions, response cache), RabbitMQ, Redis, Websocket, JWT authentication, ESLint 9

Dependencies

Run locally

Installation

npm ci

Run

npm run start:dev

REPL

npm run repl:dev

Run with Docker on host

Build

sudo docker build -t nestjs-example. --build-arg env=development

Run

sudo docker run -d --network host nestjs-example:latest

Get CONTAINER_ID

sudo docker ps -a| grep nestjs-example

Open container

sudo dockerexec -it$CONTAINER_ID sh

Show logs

sudo docker logs$CONTAINER_ID

Stop container

sudo docker stop$CONTAINER_ID

Remove container

sudo docker rm$CONTAINER_ID

Run with Docker Compose

Create network

sudo docker network create nestjs-example-network

Run

sudo docker compose up --build

Dependencies graph

Full

npm run madge:full

Circular

npm run madge:circular

Typeorm

Creating a migration file from modified entities

npm run typeorm:generate

Create an empty migration file

npm run typeorm:create

Run migrations

Development

npm run typeorm:run:dev

Build

npm run typeorm:run:build

About

NestJS example with using GraphQL (schema stitching, schema reload, dataloader, upload files, subscriptions, response cache), RabbitMQ, Redis, Websocket, JWT authentication, ESLint 9

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp