/ts-example

Learning application for proof how to write TypeScript JS

Primary LanguageHTMLApache License 2.0Apache-2.0

Sample typescript and CI/CD workflow

We're created mini API for prove of concept CI and CD workflow. It's develop base on Typescript.

How to use

  • Install Dev dependencies.
$ npm ci # or use npm install
  • To compile typescript to commonJS in build folder.
$ npx tsc
  • Run dev serve application.
$ npm run start

Fast Demo with docker

You can run nodejs in docker for fasttrack to demo this service.

$ docker run -it --rm -v $(pwd):/app node:15-alpine /bin/ash
$ cd /app
$ npm ci
$ npm run start # this line should start nodeJS process.