Questions tagged [geddy]

Geddy is a simple, stuctured framework for node.js. Geddy is built on the same MVC principles that many popular frameworks are based on. Every Geddy app has its models, controllers, and views as well as config files and routes.

Template engine support

  • EJS
  • Jade
  • Handlebars
  • Mustache
  • Swig

Geddy's model layer have adapters for

  • Postgres
  • MySQL
  • SQLite
  • Riak
  • MongoDB
  • LevelDB
  • in-memory
  • Filesystem

Documentation

82 questions
0
votes
1 answer

setting up hasOne relationship GeddyJS

I'm trying to expand on the GeddyJS Todo tutorial from their site. I've added another model, Project, to the Todo project, and would like to set up a relationship between Todo and Project in a Todo-hasOne-Project manner. Here's the code from my…
keithhamilton
  • 35
  • 1
  • 7
0
votes
1 answer

How to load model in to controller with geddy

I have a Locations controller and Location model I want to use the the Location model in another controller but calling geddy.models.Locations.all(...); does not work. It says Locations is undefined. How do I make it load the model manually? Or…
cmp
  • 1,543
  • 2
  • 11
  • 18
0
votes
2 answers

How to access multiple models from a controller

I have a Locations model and a Recorders model. I want to be able to pass all of the data for both data sets to my view model. How can I access them though because I think they're not in scope since I'm getting undefined errors because I'm calling…
cmp
  • 1,543
  • 2
  • 11
  • 18
0
votes
1 answer

How to run Geddy with Mongo on Windows?

I have a strange problem with the Geddy and Mongo under Windows. I'm completely new with Node.js and all this stuff, and try their sample app, which was fine until mongo attached. Then it throw something like this on data…
lifecoder
  • 1,424
  • 1
  • 14
  • 29
0
votes
1 answer

Query mongodb with geddy

While trying out the node.js framework geddy (on windows) and i've run into a bit of a problem. I'm trying to query mongodb, in my controller, using the .first() method from my Users Model like so: geddy.model.User.first({name: 'jdoe'}, function…
mfreitas
  • 2,395
  • 3
  • 29
  • 42
0
votes
2 answers

Why is Geddy not built on Connect?

From this presentation http://techwraith.github.com/presentations/2012/nodepdx The author states the following: "Connect also give you problems" "Connect buffers some responses" "Connect has no structure" "Express gives you all the problems Connect…
Olivier Refalo
  • 50,287
  • 22
  • 91
  • 122
0
votes
1 answer

Starting geddy on heroku fails with Error R11 (Bad bind). What is wrong with the deployment? What am I missing?

I'm trying out a new deployment into heroku, can't seem to get geddy to run without issues. I keep getting this error Error R11 (Bad bind) -> Process bound to port 5768, should be 41113 (see environment variable PORT) Procfile web: geddy -p…
blacktone
  • 144
  • 1
  • 11
1 2 3 4 5
6