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

Error using geddy auth with MongoDB apapter

first of all I'm a noob at Geddy so the answer might be something stupid I forgot, but I keep getting an error while using Geddy auth and MongoDB at the same time; Here's what I did: geddy app myapp Then I configured config/development.js to use…
Kultluc
  • 21
  • 3
0
votes
1 answer

Manipulating data before save with geddy

I have a few scenarios in my application where I need to manipulate the data before it is saved. I have a CakePHP background so this I would normally do in a Model's beforeSave method. Is there anything equivalent that I can do in my models in…
timstermatic
  • 1,710
  • 14
  • 32
0
votes
1 answer

Is it possible to configure which folder geddy.js is going to use as 'public'?

This is my basic webapp folder structure: -> server |-> all geddy.js files (is a REST app) -> client (angularjs managed with yeoman) |-> app |-> test |-> [...] As I am in development mode I have not yet 'built' my client app into the…
Rova
  • 173
  • 4
  • 12
0
votes
1 answer

Force download is not working

I want to prompt a download for a user when they click a link instead of open it in the browser. with expressJS, it should be just like this : app.get('/download', function (req, res) { res.download('public/uploads/sample.pdf'); }); how can I do…
fin
  • 519
  • 4
  • 7
0
votes
1 answer

TypeError: Cannot read property 'properties' of undefined

I have a Node.js/Geddy app which was working untill a few minutes ago. Now, when I try to run it, I get the following error: I have many models, but for one of them, I get this error. The error is shown because in the file whose path is displayed…
0
votes
1 answer

Add a value to the option

I am trying to create a select element using EJS (embedded javascript) in Geddy framework. What I want to do is have something like (just an example):