Skip to content

Nodejs microservice template built with typescript, fastify swagger, jest and more...

License

Notifications You must be signed in to change notification settings

FaberVitale/fastify-service-template

Repository files navigation

timestamp service

Description

Proof of concept of a microservice that runs in node 14 using the following stack:

Scripts

  • npm run dev: starts server in dev mode that restars on ./src changes:

  • npm run build: build for production.

  • npm run start:starts server in production mode.

  • npm dev:debug: starts server in dev mode with debugger attached, try chrome://inspect/#devices in chrome.

  • npm run test: runs tests.

Docker

  • build image:docker build --tag timestamp-service:<tag> .

  • run dockerize app: docker run --rm -p 5000:5000 timestamp-service:<tag>

Requirements

"node": "^14.0.0",
"npm": "^6.14.4"

License

MIT

About

Nodejs microservice template built with typescript, fastify swagger, jest and more...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published