Skip to content

inspired by http://mean.io/ but this time with coffeescript - (Mongo, Express, Angular, Node) - A Simple, Scalable and Easy starting point for full stack javascript web development

Notifications You must be signed in to change notification settings

meeeu/mean.coffee

 
 

Repository files navigation

mean.coffee

WORK IN PROGRESS

(Mongo, Express, Angular, Node) - A Simple, Scalable and Easy starting point for full stack javascript web development originally inspired by http://mean.io/

BK Note: Signficant structure changes in progress. Additional baseline setup as well, inspired by ngbp. A lot of the original guidance will not be valid. README to be updated when stable.

How to mean.coffee

  • Install prerequisites

    • npm install -g coffee-script
    • npm install -g bower
    • npm install -g gulp
  • Install dependencies:

    • npm install (will bower install as well)
  • Run the server

    • npm start || coffee server.coffee
  • Run gulp

    • npm run gulp (for dev)
    • npm run gulp-build (for prod)

Differences compared to mean.io:

  • everything is written with coffeescript
  • use gulp instead of grunt
  • don't use any template engine:
    • the node.js server only serve static html files
    • angularJS will do the rest (routing + calling the REST API)
  • code to manipulate model objects is in the service folder (instead of app/controller in mean.io)
  • extra stuff:
    • winston (logger) - lib/logger.coffee
    • memwatch (for memory leaks) - server.coffee
    • nodetime (monitoring) - server.coffee

TODO

  • forever script + git hook for custom deployment
  • procfile for heroku deployment

About

inspired by http://mean.io/ but this time with coffeescript - (Mongo, Express, Angular, Node) - A Simple, Scalable and Easy starting point for full stack javascript web development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 70.9%
  • Python 15.8%
  • JavaScript 9.7%
  • CSS 3.1%
  • Shell 0.5%