0.1.0 • Published 8 years ago

@asnea/quick-service v0.1.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
8 years ago

Quick-Service

Somewhat template for making node microservices.

What makes this opinionated?

Quick Start

  • Take an empty folder
  • Run npm install @asnea/quick-service
  • Run node_modules/.bin/quick-service (on Windows, use \)
  • You now have a service template ready to go

Optionally, you can edit the package.json to include correct details.

How to use your new service

There will be a README.MD file in your created service, which can explain in details the commands you can run, but in general:

  • When developing, run npm run watch. Your code will be automatically watched and the server restarted when code changes (via nodemon)
  • If you want to just build and run the server, run npm run build-and-run
  • If you're built and just want to run the server, npm start will work.
  • Run npm run build-production to build a production package into build (WIP)
  • Other npm run commands are in the package.json

Recommended

If you use Sublime