• Stars
    star
    214
  • Rank 184,678 (Top 4 %)
  • Language
    JavaScript
  • Created over 12 years ago
  • Updated over 12 years ago

Reviews

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

Repository Details

Sample CRUD application with Node.JS, using MySQL, Mongo and Redis. Basically, I am using it as a boilerplate (template, skeleton) for all new backend apps I start.
Install Node.JS (http://nodejs.org/#download), NPM (http://npmjs.org/) and Foreman (http://ddollar.github.com/foreman/).

Symlinks a package folder into your system, so that changes are automatically reflected, and install the "dependencies" and "devDependencies" from package.json:
$ npm link .

Run:
$ foreman start

or as simple as:
$ node src/server.js

List of all modules/libraries in use is in package.json or below:
https://github.com/LearnBoost/mongoose
https://github.com/felixge/node-mysql
https://github.com/mranney/node_redis
https://github.com/visionmedia/express
https://github.com/visionmedia/ejs
https://github.com/caolan/async
https://github.com/lorenwest/node-config
https://github.com/LearnBoost/cluster
https://github.com/flatiron/winston
https://github.com/broofa/node-uuid
https://github.com/felixge/node-dateformat
https://github.com/visionmedia/expresso
https://github.com/dannycoates/node-inspector
https://github.com/mhevery/jasmine-node

For simplicity sake I'll describe the process of getting it on Heroku:
https://devcenter.heroku.com/articles/nodejs

$ heroku create crud-bones-dev --stack cedar --remote heroku-dev
$ git push heroku-dev master
$ heroku config:add NODE_ENV=staging --app crud-bones-dev

Or if you want to push to existing Heroku instance:

$ git init 
$ git add .
$ git commit -m 'bundle for heroku-dev deploy'
$ git remote add heroku-dev [email protected]:crud-bones-dev.git
$ heroku config:add NODE_ENV=staging --app crud-bones-dev
$ git push -f heroku-dev master

* dotCloud:

$ dot create crudbonesdev
$ dot push crudbonesdev .

Unfortunately at this moment it doesn't seem to be supporting newer Node.JS

* Engine Yard 

N/A (in progress :-)

More Repositories

1

birdemia

The best worst bird attack you will ever happen to get into! Spontaneous appearances, awkward aerial maneuvers, explosions and time limitations... it is so bad that it is good! Can't be unseen, and you will feel the immediate urge to share it with your friends!
Ruby
26
star
2

omni2stencils

UML 2.0 Stencils for OmniGraffle
10
star
3

EncryptDecrypt

Basic example how to encrypt and decrypt NSData by key (password)
5
star
4

dropwizard-archetype

Maven2 Archetype for Coda Hale's Dropwizard
Java
4
star
5

omnigraffle-stencils-collection

my omnigraffle stencils collection
4
star
6

who-replied-to

Ruby, Sinatra - searches for all replies to any status message on Twitter
Ruby
2
star
7

testildo

Some tests with Node.js/Express/Async/Mongoose and Java/Play/Spring/Morphia
Java
2
star
8

rietveld-upload-git

For code reviews using Rietveld (Google Code Reviews) -- instructions and pre-commit hook shell script for Git.
Python
2
star
9

dt-source

Hibernate and JDBC data sources for DisplayTag (outdated, back from 2005-2006)
Java
2
star
10

amqdemo

"Dead simple" example of Ruby (w/ Sinatra) on frontend, Java on backend, talking thru ActiveMQ, with little help of memcached
Java
2
star
11

qwe3-1

Scala (Servlet/JSP) CRUD JDO demo on GAE (Google App Engine)
Scala
1
star
12

m0dump

Maven archetype for CRUD skeleton with Spring, Hibernate, MySQL, JavaMail, Velocity, URLRewrite and Security (Acegi).
Java
1
star
13

alexqwe3-1

Struts 2 CRUD JDO demo on GAE (Google App Engine)
Java
1
star
14

scaladp

Simple design patterns implementation in Scala (while learning it, so it's not too Scala-like)
Scala
1
star