• Stars
    star
    627
  • Rank 69,513 (Top 2 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created almost 14 years ago
  • Updated almost 4 years ago

Reviews

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

Repository Details

A Template for NodeJs Application using Express, CoffeeScript, Jade, Stylus, Nib

Express Coffee Template 9 (1.9.0)

This is a Node Express CoffeeScript Stack Template

It comes ready to go with connect-assets that give you the option to use coffee-script and stylus for the client side.

Technologies

This is a template that can be used to create nodejs applications using

  • Node v4.2.x
  • Express v4.13.x
  • CoffeeScript v1.10.x
  • Jade v1.11.0
  • Stylus v0.52.x
  • bootstrap-stylus 2.3.1 (not a npm module)
  • Nib v1.1.x
  • Connect Assets v2.5.x
  • MongoDB / Mongoose 3.8.x

Requirements

These will install with npm, just do

npm install

In your project directory.


Install, Build, Run, Test, and Watch

# Install nodejs and npm

git clone http://github.com/twilson63/express-coffee.git [project-name]
cd [project-name]
npm install

Install coffee-script, mocha and docco

npm install coffee-script -g
npm install mocha -g
npm install docco -g

Run

cake dev

Mocha and Request for testing

mocha is an extremely powerful and easy to use testing framework

see http://mochajs.org/

describe 'Sample test', ->
  it 'should be true', ->
    true.should.equal true

to run mocha

cake test

Setup to deploy to heroku

rm -rf .git
git init
echo 'node_modules' >> '.gitignore'
git add .
git commit -am "first commit"
heroku create
git push heroku master
heroku open

Thanks to

About

express-coffee is a template or boiler-plate to get started writing express web applications in CoffeeScript. It comes ready to go with base setup for an Express Web App. It includes a Cakefile that lets you build, spec, and watch your coffeescript as you develop. You hack in the src folder and run cake build to build you server files, write your mocha in your test folder and run cake test or spec to run your test suite. Create your jade views in the views folder and put your public assets in the public folder. Enjoy your express-coffee

License

See LICENSE

Contribute

pull requests are welcome

More Repositories

1

ngUpload

An AngularJS Service for uploading files using iframe
JavaScript
421
star
2

html2haml

Convert HTML Snippets to Haml
CSS
180
star
3

html2hscript

parses html into hyperscript
JavaScript
170
star
4

cakefile-template

This is a cakefile template for coffeescript, docco and mocha
CoffeeScript
88
star
5

cupcake

Get Started with an Express app in no time...
CoffeeScript
56
star
6

permaweb-cookbook

The Permaweb Cookbook is meant to house small digestible code snippets for someone that has no experience with blockchain or Permaweb to be able to grab and go.
51
star
7

express-couchUser

A express module for CouchDb based User Authentication Module
JavaScript
35
star
8

chester

Ruby
24
star
9

zerigo_dns

Zerigo DNS Gem
Ruby
23
star
10

ngTodoPouch

Yet another Todo Tutorial using AngularJS and PouchDb
JavaScript
22
star
11

angular-browserify-example

This is an example project of angularjs and browserify
JavaScript
22
star
12

mercury-router

JavaScript
20
star
13

hypar

svelte + vite + twind
Svelte
20
star
14

node-cloudq

Cloudq Server in Node
JavaScript
19
star
15

s3fs-recipe

s3fs chef recipe
Ruby
16
star
16

cybertron

Functional JavaScript Practice
JavaScript
15
star
17

bam

Easiest Static Web Generator on the Planet (beta)
JavaScript
15
star
18

Sinatra-WebSite-Tutorial

Simple and I mean simple - Beginner Tutorial to Sinatra
Ruby
14
star
19

palmettoflow

14
star
20

permapages

You personal Web3 space
JavaScript
13
star
21

node-csv2json

A stream object that reads csv and writes json
CoffeeScript
12
star
22

ipress2

Ipress2 is a static generator using MDsveX - experimental
JavaScript
12
star
23

sinatra-formhelpers

Suite of FormHelpers for Sinatra
Ruby
12
star
24

npm-gitlab

npm registry proxy to gitlab repositories
JavaScript
11
star
25

hugo2

Makes deploying Infrastructures and apps on Amazon Easy 2
Ruby
11
star
26

express-couchdb-core

Core RESTful API interface to CouchDb Documents
JavaScript
11
star
27

material-hyperscript

Material Design Lite meets Hyperscript
JavaScript
11
star
28

angular-uploadBtn

SingleClick Upload Button for AngularJS
JavaScript
11
star
29

permanotes

permanent notes in markdown built using the blockweave
Svelte
11
star
30

permaweb-img-app

Svelte
10
star
31

w3

A static web server
JavaScript
10
star
32

fun-fp

a fun functional utility library
JavaScript
9
star
33

meryl-coffee

Meryl CoffeeScript CoffeeKup and NodeJS Web Application Template
CoffeeScript
9
star
34

voxel-tutorial

A simple tutorial on getting started with voxeljs
JavaScript
9
star
35

coffeecup-helpers

CoffeeCup Html Helpers
JavaScript
9
star
36

creamer

A flatiron plugin for coffeecup
CoffeeScript
9
star
37

node-console

A node console based on node-webkit
JavaScript
8
star
38

stamp

Universal Sybil-Attack safe "Like" Button
JavaScript
8
star
39

sql-templar

A sql template engine on a crusade
JavaScript
8
star
40

hugo-cookbooks

hugo-cookbooks
Ruby
8
star
41

templatefoo

A sample CRUD vue.js application using PouchDb
JavaScript
8
star
42

ask

A NodeJs Library that creates an ask prompt for Cakefiles
CoffeeScript
8
star
43

Mongolog

A Simple Example of creating a blog using MongoDb, Sinatra, and Mustache
Ruby
7
star
44

ng-adventure

A WIP - AngularJS Adventure Tutorial
HTML
6
star
45

coffeegrind

An Example of a full tilt awesome coffee-script application!
CoffeeScript
6
star
46

ngSandbox

An AngularJS service that creates an in browser based sandbox.
JavaScript
6
star
47

blog-awesome-sauce

A demo application to demonstrate angularjs authentication pattern using the angular-http-auth interceptor pattern
JavaScript
6
star
48

iron-coffee

A Flatiron Template in CoffeeScript and Jade
JavaScript
6
star
49

csv2json

Simple Web Page that allows you to convert a csv to a json document
CoffeeScript
6
star
50

html2hscript.herokuapp.com

Simple Web App to convert html to hyperscript
JavaScript
6
star
51

angular-pouch

A bower package repository for an angularjs module wrapper for pouchdb
JavaScript
6
star
52

Chester-Ti-Example

Ti - Developer iPad Example using Chester Framework
JavaScript
5
star
53

vue-director

VueJS module that injects FlatIron Director Router into your Vue App
JavaScript
5
star
54

Pickle

Pickle a JQuery BDD Test Library
JavaScript
5
star
55

hugo

A infrastructure deployment tool
Ruby
5
star
56

codecamp-angularjs-reveal

codecamp-ng
JavaScript
5
star
57

easyboot

NodeJs Command Line App to pull and extract latest twitter bootstrap
CoffeeScript
4
star
58

express-pouchdb-jwt

Express PouchDB JWT Gateway
JavaScript
4
star
59

grind

A project timeline tool in CoffeeScript, Coffeemate, Coffeekup, MongoSkin and JQuery Mobile
JavaScript
4
star
60

callback-canyon

Callback Canyon is an exercise repo that lets developer practice implementing functional callbacks
JavaScript
4
star
61

flatironjs-hello-world

Simple flatironjs hello-world
JavaScript
4
star
62

gol-svelte-tutorial

A tutorial using svelte to present a game of life
JavaScript
4
star
63

casper_server

A Web Server Framework for JasperReports
Ruby
4
star
64

crud

An angularJS - sinatra example
JavaScript
4
star
65

foobot

FooBot Demo
JavaScript
4
star
66

receipt-mgr

A IonicFramework Demo Application
JavaScript
4
star
67

intro-to-arweave

Introduction to ARWeave and the permaweb
JavaScript
4
star
68

node-mssqlx

pipe sql to mssqlx and get json out
JavaScript
4
star
69

jTag

A javascript library that makes markup a breeze
JavaScript
4
star
70

frack

a redis cli chat application (WIP)
CoffeeScript
3
star
71

Casper

A library wrapper for Jasper Reports
Ruby
3
star
72

emoji-app

Emoji React Redux App
JavaScript
3
star
73

t63

React Components tachyons style
JavaScript
3
star
74

level-skv

A levelup database with a dnode interface as client and server
JavaScript
3
star
75

sandman

Sandbox for SproutCore2 and CoffeeScript
CoffeeScript
3
star
76

bot-code

A Code Editor for NodeBots using Blockly
JavaScript
3
star
77

block-builder

Build Voxel Worlds by Code
JavaScript
3
star
78

apprentice

A nodejs web lib that adds some sugar to the routejs lib
CoffeeScript
3
star
79

eslint-plugin-funfp

eslint plugin for fun functional programming
JavaScript
3
star
80

mega-uploader

Mega Uploader - Publish humongous files to the permaweb
Svelte
3
star
81

x-forward

Express Forward Proxy
JavaScript
3
star
82

linchpin

Indispensable Module for loosely coupled applications
JavaScript
3
star
83

csvjs

Comma Separated
CoffeeScript
3
star
84

mysql-down

MySQL LevelDOWN Adapter
JavaScript
3
star
85

meme-exchange

Meme Exchange
Svelte
3
star
86

palmetto

Palmetto Native Web Library - Components and Services
JavaScript
3
star
87

where2

Lib to convert object where clause to sql where clause
JavaScript
3
star
88

js2cs

Convert Javascript to CoffeeScript
JavaScript
3
star
89

couchdb-user-account

CouchDb User Account Model
JavaScript
3
star
90

cloudq_client

Cloudq Client is a Ruby Library that Publishes and Consumes Jobs from Cloudq
Ruby
3
star
91

express-coffee2

Second Version of the Express-Coffee Template Skeleton
CoffeeScript
3
star
92

pwa-workshop-newsy

Newsy a PWA News App
HTML
3
star
93

topflix

React/Redux Tutorial using movie api
JavaScript
3
star
94

hellskitchen

JRS Chef Script for EC2
Ruby
3
star
95

vbridge-crud-example

CRUD Example with the palmetto concept
JavaScript
3
star
96

hl7-db

A hl7 tcp server that stores msgs into an encrypted db which can be replicated to another server
JavaScript
3
star
97

coffee-n-tea

Sencha Touch Twitter example using Sencha and CoffeeScript
JavaScript
3
star
98

todo-fp

example todoapp using functional javascript (React, Recompose, Ramda)
JavaScript
3
star
99

cloudq

Cloudq is a remote MongoDb based Message Queue Server
Ruby
3
star
100

s3foo

A command line app to makes it super simple to push websites to s3 hosting
JavaScript
3
star