🐨 A starter kit for a slightly opinionated koa project.
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

🐨 koa-starter

A starter kit for a slightly opinionated Koa project.

Opinions

I built this Koa starter kit because there's a number of packages I like to use when starting a new project. The major ones are:

I'm also including goodies from:

Prerequisites

Installation

  • Clone down the repository.
git clone https://github.com/snollygolly/koa-starter.git
  • Install packages (from inside the koa-starter folder).
npm install
  • Create your config. There's a config.example.json file in the root. Edit it to include all your values for the site and your OAuth information. Save it as config.json and leave it in the root.

  • If you want to use Google Analytics, set config.site.analytics to your Tracking ID and make sure the analytics partial (analytics.hbs) contains the correct Universal Analytics tracking code. If you don't want to use Google Analytics, remove that property or set it to false.

  • Start it up.

npm start
  • Enjoy!