Coder Social home page Coder Social logo

nxbdi / crud-bones Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexeypro/crud-bones

0.0 2.0 0.0 427 KB

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.

Home Page: http://words.alexeypro.com/crud-bones/

crud-bones's Introduction

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 :-)

crud-bones's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.