Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.15 KB

File metadata and controls

64 lines (41 loc) · 1.15 KB

Microservice with Micro, Typescript, Jest and Prettier boilerplate

CircleCI Greenkeeper badge

A boilerplate for building microservices with Micro, Typescript and Jest.

Installation

$ npm install

Development

Start a watching development server with hot-relaoding, running at localhost.

$ npm run dev

Testing

Start unit tests and linting.

$ npm test

Production

Build for production.

$ npm run build

Start, running at localhost.

$ npm start

Docker

After building for production build the docker container.

$ npm run docker:build

Start the docker container. Test it at localhost.

$ npm run docker:run

Deployment

Deploy whereever you like, i.e. with now.

$ now