jarivas/ts-node-example-server

★ 0Forks 0JavaScriptGitHub ↗Compare

README

Description

It is a demo to show how to create a rest server with node, typescript and restify

How to install

In case of install localy

  • cd ts-node-example-server
  • npm run install
  • npm run brun

Recommended: VSCode + Docker

  • Install Docker or Docker Desktop
  • Install VSCode
  • Install Dev Containers plugin
  • Open the folder with VSCode
  • Accept the Pop up about Open folder in container or Open the Command pallete a look for Open folder in container and click on it
  • Wait to the environment to be installed
  • Install recommended plugins (eslint and typescript) on the container, so now the code quality tools are integrated on the IDE

How to build

npm run build

How to run the service (required for testing)

npm run run

How to Build and Run

npm run brun

How to run the tests

npm run test

Contributors

jarivas

Issues