Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p-baleine/nameko
https://github.com/p-baleine/nameko
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/p-baleine/nameko
- Owner: p-baleine
- Created: 2012-04-28T05:24:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-04T08:04:03.000Z (over 12 years ago)
- Last Synced: 2024-04-14T09:10:20.583Z (7 months ago)
- Language: JavaScript
- Size: 661 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
README
======## 1) インストール
$ cd
$ npm install### 1.1) Mongo
#### 1.1.1) Macの場合
$ sudo brew update
$ sudo brew install mongodb
$ sudo mkdir -p data/db
$ sudo chown `id -u` /data/db
$ sudo npm install mongodb# 試しにインサート
$ mongo
MongoDB shell version: 2.0.4
connecting to: test
> use nameko
switched to db nameko
> show collections
> db.posts.insert({name: 'hoge'})
> db.posts.findOne()
{ "_id" : ObjectId("4f9baa6c3b8af52f7fe015d3"), "name" : "hoge" }### 1.2) 起動
$ node install . # apiとclientで
$ cake serve## 2) 参考サイト
* REST [https://github.com/visionmedia/express-resource]
* Mongo [https://github.com/LearnBoost/mongoose]
* Mongo公式 [http://mongoosejs.com/]
* test [http://firn.jp/2011/09/21/nodejs-tdd]
* commonJS [http://mnmly.github.com/library/coffeescript/05\_applications.html]* node-blog [https://github.com/schaermu/node-blog]
* node-chat [https://github.com/schaermu/node-chat]
* spine.rails3 [https://github.com/maccman/spine.rails3]