Skip to content

atorri/meetdownjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meetdown.js

Install dependencies:

$ npm install

Start the mongo daemon (in a new terminal):

$ sudo mongod

Start the server (in another terminal; tmux anyone?):

$ node app

Open the Mongo shell (in YAT; tmuxinator?):

$ mongo

Add a user record:

> ken = {name: 'ken bolton', created_at: new Date()}
{ "name" : "ken bolton", "created_at" : ISODate("2012-05-16T23:28:23.670Z") }
> db.users.save(ken)

Add a couple of events:

> event1 = {title: 'Ken\'s Birthday', start_at: new Date(2012, 7, 27), description: 'He will be even older'}
> event2 = {title: 'Pi Day', start_at: new Date(2013, 3, 14), description: 'Everyone loves Pi'}
> db.events.save(event1)
> db.events.save(event2)

Then open the a browser to http://localhost:3000/user/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published