First I created the mongoose schema:
var cardSchema = mongoose.Schema({
**userId: String,
imageUrl: String**})
Then I defined model:
var Card = mongoose.model('Card', cardSchema)
Then I created a new card:
var newCard = new Card({
**userId: bablaba**});
Then the new card is saved
Hello, I just finished installing nodejs on ubuntu. I wanted to do a simple
Hello World to get started so I executed the following at the command
prompt:
node console.log('hello world')
However, this returns the following error:
-bash: syntax error near unexpected token '('
Any idea
i'm following tim and the js-git project already for a long time...
https://github.com/creationix/js-git
in feature goals here: https://www.bountysource.com/teams/js-git/fundraiser
it says:
- Clone remote repositories to local storage over http, git, or ssh.
- Make and commit local changes
FWIW:
https://twitter.com/nodejs/status/545349270241435648
On Saturday, November 22, 2014 at 6:59 AM, Imre Fazekas wrote:
Christmas? I certainly hope not! :)
Was waiting for the meeting minutes of the 17th of this month but nothing so
far...
Could anyone share some news or even better
Hello,
Cross-posted from Karma.
This does not stop karma from working on my Win 7 32-bit. Wondering what it
means here because on my Mac 'node-gyp' actually built after I updated my
XCode for Mavericks. I mean that on the Mac I saw the same error initially
but after my XCode update
On Dec 29, 2014, at 2:12 AM, noderiety andrew.d.ciccare...@gmail.com wrote:
Hello, I just finished installing nodejs on ubuntu. I wanted to do a simple
Hello World to get started so I executed the following at the command prompt:
node console.log('hello world')
However, this
An alternative solution:
echo console.log('hello world') | node
On Monday, December 29, 2014 5:11:01 PM UTC+2, Aria Stewart wrote:
On Dec 29, 2014, at 2:12 AM, noderiety andrew.d@gmail.com
javascript: wrote:
Hello, I just finished installing nodejs on ubuntu. I wanted to do a
On Dec 29, 2014, at 7:38 AM, Mohan Radhakrishnan wrote:
This does not stop karma from working on my Win 7 32-bit. Wondering what it
means here because on my Mac 'node-gyp' actually built after I updated my
XCode for Mavericks. I mean that on the Mac I saw the same error initially
but
On Monday, December 29, 2014 9:02:19 AM UTC-6, serapath wrote:
i'm following tim and the js-git project already for a long time...
https://github.com/creationix/js-git
in feature goals here:
https://www.bountysource.com/teams/js-git/fundraiser
it says:
- Clone remote repositories to