• Stars
    star
    141
  • Rank 259,971 (Top 6 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[Deprecated] 🔷 Basic (opinionated) starter kit for a micro app with webpack build

Micro Starter

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! 🔥

XO code style npm npm

What do I get

  • 🔷 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

Tell me more

Usage

yarn global add micro-starter
micro-start my-app-name # create a new project directory ready for microservicing

Helpers

  • yarn dev: Run development server to watch your files
  • yarn build: Build for production
  • yarn start: Run application

Testing

  • yarn test:spec: Run tests with Jest
  • yarn test:lint: Lint your code with XO
  • yarn test: Run it all

Environment

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.


Use micro-starter?

Let people know on your readme! 👉  made with micro-starter  👈

[![made with micro-starter](https://img.shields.io/badge/kit-micro--starter-3986fe.svg)](https://github.com/samtgarson/micro-starter)

Contribute

Please open issues/PRs. Thanks.

Happy microservicing.

More Repositories

1

nuxt-env

Inject env vars for your Nuxt app at runtime
JavaScript
170
star
2

vueport

[Deprecated] Single file components for Rails with Vue JS and Webpack
Ruby
139
star
3

nuxt-csrf

[WIP] CSRF protection for your Nuxt app
JavaScript
12
star
4

vueport-example

An example Rails application using Vueport gem
Ruby
11
star
5

rsms-email

A SwiftUI challenge to build an email client I saw on Twitter
Swift
9
star
6

iterm-snazzy

Port of the Snazzy Hyperterm theme to Iterm 2
8
star
7

asdf-1password

1password plugin for asdf version manager
Shell
7
star
8

dotfiles

📦 new machines the way I like them
Lua
5
star
9

pat

📮 Postman on the command line
TypeScript
3
star
10

vuex-scroll

Keep vuex state updated with scroll stats
JavaScript
3
star
11

lunar-and-flo-api

Backend and API to serve mobile app for Lunar & Flo period tracker
Ruby
2
star
12

dobble

TypeScript
1
star
13

tactile-controller

An experimental app to turn your iPhone into a multi-faceted input device
Swift
1
star
14

do-spinner-upper

A small utility to save and recreate Digital Ocean droplets
Shell
1
star
15

portfolio-2

Latest attempt at a portfolio I'm happy with
Vue
1
star
16

books-about-food

TypeScript
1
star
17

hooks

Webhooks for personal projects
TypeScript
1
star
18

celesta

Keep an eye on your practice
JavaScript
1
star
19

typescript-microservice

A quick template repo for tiny typescript microservices
TypeScript
1
star
20

vue-renderer

Microservice to render your Vue templates
JavaScript
1
star
21

github-deploy-bot

A bot to post deployment information to Pull Requests
Ruby
1
star
22

digest-delivery

Get your articles and feeds delivered to your Kindle.
TypeScript
1
star
23

now-latest

Get the latest deployment for your now.sh app
JavaScript
1
star