Questions tagged [deployd]

Deployd is a tool that makes building APIs simple by providing important ready-made functionality out of the box that meet the demands of complex applications.

115 questions
12
votes
7 answers

Deployd - Data retrieved via AngularJS CORS

I am currently reading through "Pro AngularJS" by Adam Freeman. In going through the examples, he has the reader create a sports store app using Angular (of course) with a Deployd server resource. The Deployd resource is set up to return JSON data…
Bic
  • 3,141
  • 18
  • 29
5
votes
2 answers

ES6 and variable scope inside a promise

Not sure what I'm missing here. I need to get the output of data into this.contact. Right now, I'm using a static class variable, but it seems dirty to have to do that. export class contactEdit { static t; // static class var constructor() { …
Andrew Grothe
  • 2,562
  • 1
  • 32
  • 48
5
votes
1 answer

Deploying Deployd to Heroku Dashboard Key

I have an Deployd application I am trying to deploy to Heroku. I have successfully been able to deploy the application and am able to hit it via it's url. I am now trying to access the dashboard. In order to access the dashboard, it requires I have…
Dan
  • 1,041
  • 1
  • 12
  • 32
5
votes
1 answer

How to handle Callback/Redirects from dpd-passport via Google strategy?

I am building a project using Deployd for assistance with my API, and dpd-passport for authentication. I seem to have everything authenticating, with session keys behind handed out and users authentication through Google, but I am having trouble…
5
votes
1 answer

Deployd: How to implement dpd-passport and securely authenticate

Let me start by saying I really like Deployd. I want to use it in production, but I want to incorporate OAuth and social logins, so I installed the dpd-passport module. It works great, except for two little (big) problems: When a user signs in via…
Shaun Scovil
  • 3,905
  • 5
  • 39
  • 58
5
votes
5 answers

AngularJS: How to use or inject thirdparty lib in AngularJS

I'm new to Angular and Deployd and wondering how to use them together. I found the example in Deployd website nice, but it's only consuming rest API data and I'd like to understand how to have Deployd as a service inside AngularJS. For example,…
punkbit
  • 7,347
  • 10
  • 55
  • 89
4
votes
1 answer

angular deployd grunt workflow

I am having a hard time integrating deployd into an already existing angular grunt workflow. Did somebody ever accomplish to do this easily. Steps taken so far: added deployd and grunt-deployd to the proji adjusted the gruntfile in x many ways…
enigma
  • 79
  • 2
  • 11
4
votes
1 answer

How to retrieve data from deployd to use in android application?

I am trying to discover deployd, and i have created a simple table for data storage. The table is stored at http://localhost:2403/table as a JSONArray. I can get the data with the following code: private static String readAll(Reader rd) throws…
yrazlik
  • 10,411
  • 33
  • 99
  • 165
4
votes
2 answers

Image sharing on deployd

I've recently begun experimenting with Deployd. It is (kind of) similar to meteor. This may be amateurish question, but what happens if my collection consists of images? How will I upload it to MongoDB @ deployd dashboard?
laycat
  • 5,381
  • 7
  • 31
  • 46
3
votes
2 answers

$$hashKey must not start with '$' Deployd

Hi when i post to deployd i get this strange error in console Object {name: "MongoError", message: "key $$hashKey must not start with '$'", status: 400} code dpd.timesheetsdone.post({ "projectId": $scope.projectId , "formandSig": …
Stweet
  • 683
  • 3
  • 11
  • 26
3
votes
0 answers

Deployd: Updating Summary Table on POST

I'm new to deployd. I have a "ratings" table which basically has an ID and a ratingValue (from 1 to 5) I have a "ratingsSummaryTable" which has ID, ratingID (from the ratings table), and five columns n_rating1, n_rating2, n_rating3, n_rating4,…
Stephane Maarek
  • 5,202
  • 9
  • 46
  • 87
2
votes
2 answers

Handlebars.compile throws an exception 'Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed ...'

Premise We've got handlebars running in a backend nodejs application for templating various messages that get sent. Handlebars.compile throws this exception (when compiling templates from partials) Error: You must pass a string or Handlebars AST to…
Gus Crawford
  • 1,017
  • 8
  • 18
2
votes
1 answer

Transport Settings in Socket.IO 1.4.x

I have been tinkering with deployd on Heroku using this gist as a starting point: https://gist.github.com/facultymatt/5373247 Line 20 of that server.js tries to set transports for socket.io like so: server.sockets.manager.settings.transports =…
Trevor Reid
  • 3,310
  • 4
  • 27
  • 46
2
votes
0 answers

OAuth Twitter iOS Swift

I am building an application with Swift-iOS and deployd as backend Deployd. I'm trying to figure out Twitter OAuth. Basically I would want to know how can I send my server a token and let dpd-passport save it in a user collection. Twitter API is…
Edwards
  • 131
  • 14
2
votes
1 answer

node and or npm issue

I am having various permission and or path issues with some npm packages, this time being deployd's dpd binary. However it still seems related to pretty much any other familiar frustrating npm path issue that i receive now and then. Its pretty much…
blamb
  • 4,220
  • 4
  • 32
  • 50
1
2 3 4 5 6 7 8