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
15
votes
4 answers

Declare and use an enum in Node.js with Geddy

For my model I want to have an enumeration as a datatype, but I don't know how to do that. I couldn't find anything helpful in the documentation from geddyjs.org or with google. A model could be defined like this: var fooModel= function () { …
8
votes
1 answer

Geddy CLI closes on SSH drop

In a remote CentOS VM Geddy application with MonogoDB wrapper is deployed. The application starts and listen to port 80 when below command is executed. geddy -e production & The problem in this CLI command is when the SSH connection to VM was…
arvindwill
  • 1,960
  • 1
  • 23
  • 39
6
votes
4 answers

No breakpoints are hit with Geddy

Im evaluating the Geddy MVC framework for node.js and I am seeing a strange issue - none of my breakpoints get hit when debugging. I am using WebStorm to launch node.js in debug mode. I dont know how to make Geddy start in debug mode using the CLI…
Bryan Migliorisi
  • 8,982
  • 4
  • 34
  • 47
4
votes
1 answer

NodeJS - Framework for stateless sessions?

Is there a framework to support fully client-managed sessions? In other words, instead of storing just the signed pid in the cookie (as Express does), store all context... so that you can manage state across clusters without the requirement to…
Robert Christian
  • 18,218
  • 20
  • 74
  • 89
3
votes
2 answers

Database Adapter for Geddy

Is there a good documentation for Database Adapters for Geddy. I am trying to implement saving of the model data in geddy in an sqlite or similar database.
Encore PTL
  • 8,084
  • 10
  • 43
  • 78
2
votes
1 answer

How to solve "customFds not yet supported" Error

I installed geddy.js. After installation i created and app with geddy using command: geddy app myapp cd myapp But when i tried geddy inside myapp i am getting following error with log details as: Error: customFds not yet supported at…
Dar Hamid
  • 1,949
  • 4
  • 21
  • 27
2
votes
0 answers

HA Proxy gzip compression with no compression on backend server

I have an HA Proxy server through which requests are routed to the backend. The backend servers are node.js/geddy . Enabling gzip on geddy requires some changes to the core module and I did not want to risk doing that. My question is if I enable…
Neil
  • 73
  • 1
  • 8
2
votes
1 answer

Geddy - Node not restarting after saving any files

Not sure why this all of a sudden is broken, but when running Geddy, anytime I make a change, say in the controller, view, model. It isn't recognized and geddy does not restart. Currently running ver: Node: v0.10.20 via homebrew on Mac 10.8 Geddy:…
Whnunlife
  • 179
  • 1
  • 3
  • 13
2
votes
1 answer

Sqlite3 db for geddy js

It's my first time using Geddy JS and I'm starting to like it but when I tried using sqlite for development db I keep getting Model adapter not found for Page. Set .adapter for this model, or set model.defaultAdapter when I run geddy jake db:init /…
ginad
  • 1,863
  • 2
  • 27
  • 42
2
votes
2 answers

Getting Node.js/Geddy app set up with CoffeeScript support

Just getting started with Node.js and I'm using the Geddy framework (I like the similarity to Rails). But I'm having some trouble getting it to work properly with CoffeeScript. I see Geddy is now "supporting" coffee files. But when I start…
David Link
  • 536
  • 3
  • 9
2
votes
2 answers

NodeJS/GeddyJS: setting limit on fetching data from model

I'm using GeddyJS framework for a NodeJS application. I got stuck with a problem in setting limit while making a call to all() method in any model. I tried providing limit as one of the option but its not working as…
2
votes
1 answer

How to access session variable in view ejs?

I'm a new user of node and Geddy. How to access session variable in ejs view template? I'm also looking for a good book, tutorial that can help me build a member area with Geddy.
Paca
  • 95
  • 2
  • 10
2
votes
2 answers

Deploy Geddy to Heroku

I'm trying to deploy a simple Geddyjs (node.js) app to Heroku. When I make a push a recive that error: git push heroku master Heroku receiving push Heroku push rejected, no Cedar-supported app detected What I have to do to that heroku detect the…
alejandromp
  • 929
  • 1
  • 10
  • 19
1
vote
1 answer

Geddy Unit Testing Controller

how you unit test geddy controller? this is an example i want to test. var assert = require('assert') , tests , controller = geddy.controller.create('Users'); tests = { 'test user controller, add new user': function (next) { var…
hbinduni
  • 1,170
  • 17
  • 27
1
vote
2 answers

What is 'partial' from a coding perspective?

I'm currently working through a geddy tutorial and came across a line of code: <%- partial('form', {step: {}, toDos: toDos}) %> What does partial mean? I've done a google search without much insight. I'm guessing it means that you partially load…
1
2 3 4 5 6