A boilerplate for building microservices with Micro, Typescript and Jest.
$ npm install
Start a watching development server with hot-relaoding, running at localhost.
$ npm run dev
Start unit tests and linting.
$ npm test
Build for production.
$ npm run build
Start, running at localhost.
$ npm start
After building for production build the docker container.
$ npm run docker:build
Start the docker container. Test it at localhost.
$ npm run docker:run
Deploy whereever you like, i.e. with now.
$ now