Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

An opinionated server configuration for sailsjs. Includes jasmine tests, passport authentication, compass styles (with sprite configuration), coffee-script server side, jade templates, marionette front-end, cron jobs & Backbone.Sails.

Notifications You must be signed in to change notification settings

ianhaggerty/sails-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 13, 2015
b594bb4 · Feb 13, 2015

History

11 Commits
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015
Dec 22, 2014
Feb 13, 2015
Feb 13, 2015
Feb 13, 2015

Repository files navigation

Sails Boilerplate

An opinionated configuration


  • sailsjs web framework

    An ambitious server side framework.

  • compass styles

    • Syntactically awesome style sheets.

    • A CSS reset snippet.

  • icons

    • Concatenates a bunch of svg files into a single svg file.

    • Takes a bunch of svg files and produces a webfont.

  • A library which manages authentication with different OAuth providers.

  • A testing suite for javascript.

  • jade templating

    A node oriented html templating language.

  • marionette (SPA) frontend

    A Backbone framework for building massive, maintainable single page applications.

    • Gives backbone to your frontend architecture.

    • The popular DOM selector library.

    • A powerful and efficient javascript utilities library.

    • A plugin which integrates Sails into Backbone.

  • mongodb database

  • automation

    • A node package to repeat scheduled tasks on the server.

    • Set's up a proxy server to sails, which refreshes in the browser when files are changed.

    • Reboot's the server when server side code changes.

    • Continuously runs a process (app.js) reinitializing if there is an error.

  • Set's up a browser based window for debugging server side code.

  • bower package manager

    • A package manager for front end javascript libraries.

    • The grunt task which automates the integration of bower packages into the sails build system.


TO START

  • npm install .
  • bower install .

Development Environment

  • grunt watchAll
  • grunt bootDev

Debugging Environment

  • grunt buildDev
  • grunt debug

Production Environment

  • configure config/env/production
  • set PORT=80 & set NODE_ENV=production (windows)
  • grunt buildProd
  • forever start app.js --prod
  • forever stop app.js

External Dependencies

  • ruby
  • gem update --system && gem install compass
  • npm install -g forever mongodb node-debug bower browser-sync
  • ttfautohont
  • fontforge (make sure bin folder is available to your environment)

About

An opinionated server configuration for sailsjs. Includes jasmine tests, passport authentication, compass styles (with sprite configuration), coffee-script server side, jade templates, marionette front-end, cron jobs & Backbone.Sails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published