A Node microservice starter kit
Basic starter kit for a Node microservice using Micro and other modern JS-y things.
[Deprecated] Since micro v8 was released, the recommended dev setup is micro-dev. Good job team Zeit! π₯
- π· Micro for no fluff HTTP serving
- π¦ Webpack for bundling with ES7 syntax
- π Jest for speedy and easy to write tests
- β€οΈ XO for no fuss linting
- π€ Development setup including file watching and server restarting for happy devs
yarn global add micro-starter
micro-start my-app-name # create a new project directory ready for microservicingyarn dev: Run development server to watch your filesyarn build: Build for productionyarn start: Run application
yarn test:spec: Run tests with Jestyarn test:lint: Lint your code with XOyarn test: Run it all
Use build/env.js for env vars in development but don't check it into source control! You can keep build/env.example.js updated with the dummy environmental requirements of your app for other devs.
Let people know on your readme! π made with micro-starter π
[](https://github.com/samtgarson/micro-starter)
Please open issues/PRs. Thanks.
Happy microservicing.