Skip to content

Nodejs (nestjs) server that will act as local server for CobiGen

License

Notifications You must be signed in to change notification settings

jan-vcapgemini/cobigen-devon4node-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

Description

Nest server to be used for CobiGen, in order to parse and merge TypeScript files.

Master branch needs to be executed using an .exe file, passing as argument the port to be used.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Create executable

yarn install

There is a packaging issue due to the external library pkg, you will have to manually fix a module. Go to node_modules\@devonfw\ts-merger\dist\, copy ts-merger.umd.js and paste it to node_modules\@devonfw\ts-merger\build. Remove file index.js and rename ts-merger.umd.jsto index.js. Finally:

$ yarn run build
$ yarn pkg --targets latest-win-x64 --output nestserver-1.0.7.exe dist/main.js

⚠️ Since nestserver is released seperatedly for different os, please refer to branch dev_linux and dev_macos to merge changes and release the corresponding version as well

Publish

Please follow this tutorial

License

Nest is APACHE 2.0 licensed.

About

Nodejs (nestjs) server that will act as local server for CobiGen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%