Skip to content

hypersign-protocol/entity-api-service

Repository files navigation

Description

Nest framework TypeScript starter repository.

Concepts with code commits

Added basic project st. with following features

Architecture

img

Pre-requisites

Node version v16.14.0

npm i -g @nestjs/cli

Use full commands

## Generate a new module
nest g module <module-name>

## Generate a controller
nest g controller <module-name/controllers/controller-name>

## Generate a service
nest g service <module-name/services/service-name>

## Generate a  middleware
nest g middleware <module-name/middlewares/middleware-name>

Installation

$ yarn

Building the app

  yarn build

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

#Test using postman collection
 yarn test:newman

create tag

  • bump version and create tag
 #command
  yarn bumpVersion --ver ${flag/version-number}
#example
 # yarn bumpVersion --ver patch // for bug fix
 #yarn bumpVersion --ver minor // for minor changes
 #yarn bumpVersion --ver major // for major changes
  #yarn bumpVersion --ver 1.2.0 // for custom version
  • push tag
  yarn pushTag

Docs

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.


sudo nginx -s stop && sudo nginx