Template for creating new microservice in NodeJS. More info in my article
- Run
yarn install
- Copy
.env.template
to.env
to usedotenv
- Set
DB_URL
- Run in watch mode with
yarn dev
- Go to localhost:3000. If everything is ok you should see
"status": "up"
.
yarn dev
to run in watch mode
yarn build
to build locally to JS
yarn start
to start version compiled to JS