Skip to content

LegendisM/websocket-chat.example

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Migrations & Seeders (Only basic modules prerequisites)

# create
$ npm run typeorm migration:create ./src/database/primary/migration/[my-seed-name]
# generate
$ npm run typeorm migration:generate -- ./src/database/primary/migration/[NAME] -d ./src/database/primary/primary.data-source.ts
# run
$ npm run typeorm migration:run -- -d ./src/database/primary/primary.data-source.ts
# revert
$ npm run typeorm migration:revert -- -d ./src/database/primary/primary.data-source.ts

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Typeorm DataSource

Remember that after creating a new Entity, you must add it to your DataSource file in the [src/database/] path to the list of entities.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

Realtime chat-system with NestJS & Websocket (io)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published