Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

turvy

geekjuice41MIT0.5.0

Full-stack project generator

readme

{ Turvy }

Full-stack boilerplate (think v2 of expresso)

Extended from topsy

turvy

Requirements

  • NodeJS/NPM

Usage

Install

npm install -g turvy

Initialize project

turvy init -p new_project # turvy help for more options

Generator

cd new_project && turvy spin

Develop

cd _dev && gulp

Then visit http://localhost:7000 to see the example app running and ready for development or http://localhost:7001 for the BrowserSync version.

Components

  • RequireJS
  • Zepto.js
  • Lodash.Underscore
  • Backbone
  • PrismJS
  • Mixen
  • Q
  • Mongoskin (MongoDB)

Directory structure

  Turvy
  |____ turvy.json (Generator configs)
  |
  |____ _dev (Development Directory)
  |     |____ _src
  |     |     |____backend
  |     |     |____frontend
  |     |     |____test
  |     |     |____vendor
  |     .
  |     .
  |     |____ gulpfile.coffee
  |     |____ package.json
  |
  |____ _static (Deployable Project)
        |____ css
        |____ js
        |____ index.html

TODO

  • <input checked="" disabled="" type="checkbox"> Update code for gulp watch/livereload, etc
  • <input checked="" disabled="" type="checkbox"> Add linespin
  • <input checked="" disabled="" type="checkbox"> Put example in branch and stripped down boilerplate on master
  • <input checked="" disabled="" type="checkbox"> Prettify output
  • <input checked="" disabled="" type="checkbox"> Fix .gitignore issues
  • <input checked="" disabled="" type="checkbox"> Consider BrowserSync over Livereload
  • <input checked="" disabled="" type="checkbox"> Better gulp tasks and deployer task
  • <input disabled="" type="checkbox"> Better CLI control and options
  • <input disabled="" type="checkbox"> Use better file copier for examples (to prevent entire project copies)
  • <input disabled="" type="checkbox"> Add heroku info to env
  • <input disabled="" type="checkbox"> Add heroku configs
  • <input disabled="" type="checkbox"> Consider multiple deploy options in gulp i.e. heroku, github, etc

Copyright © 2014 Nicholas Hwang