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
0
votes
1 answer

How to discover where is the data from deployd

I'm using deployd on a project and I see the data in my api, but when I search for the DB on mongo shell I can't see that, maybe the deployd has created another instance for mongo but I can't find it. Some one could help me? This is the Image from…
0
votes
0 answers

deployd and mongodb in PROAngularJS test project

This is my first experience with MongoDB and Deployd. I installed MongoDB and Deployd. Everything seems to be ok but when I run from the command line I get this result C:\Windows\SysWOW64\deployd\sportsstore>dpd --mongod 'C:\Program…
BaranOFF
  • 3
  • 1
  • 6
0
votes
1 answer

Deployd randomly fails to start mongod

I am having some weird occurances with my deployd instance. Ususally I am starting localhost with "dpd -d" command. It happened to me twice now, that at some point mongod refuses to start and returns the following error: Screenshot of error I can…
Jan173
  • 35
  • 5
0
votes
1 answer

Angularjs HTTP POST call to authenticate login in deployd failed- 400 error returned

Trying the below http post request in angularJS to deployd, with a Collection users containing data username and password, angular.module("sportsStoreAdmin") .constant("authUrl", "http://localhost:2403/users/login") …
0
votes
2 answers

Default Deployd MongoDB Connection

I'll keep this short. I have Deployd setup on a Linux server. If I run "dpd" on the commandline, it starts correctly, connects to the database (located at /data/db). It shows my data and runs exactly how I would expect. I have created a startup js…
Varrick
  • 627
  • 1
  • 6
  • 11
0
votes
1 answer

Event listener on Alamofire

I used to build my app on Firebase before and there was a method which listens for value updates, something like this: refHandle = postRef.observeEventType(FIRDataEventType.Value, withBlock: { (snapshot) in let postDict = snapshot.value as!…
Lawris
  • 965
  • 2
  • 9
  • 21
0
votes
3 answers

Failed to start Mongodb

I'm studying pro angularjs by adam freeman. I've installed deployd v0.8.8 and created sportsstore. When I run 'dpd –p 5500 sportsstore\app.dpd' form command prompt, it shows 'Failed to start MongoDB Make sure 'mongod' are in your $PATH or use dpd…
0
votes
1 answer

Protecting API URL Data from being seen. cURL?

How can we password protect our Deployd data accessed via URL? Currently our users' data is visible on oursite.com/users. How can we make it password protected so that only we,the site developers, can see our users' data via oursite.com/users? …
H.I
  • 5
  • 5
0
votes
1 answer

{ [Error: listen EADDRINUSE :::5000]

What's wrong with the following Server.JS file? We are trying to connect Deployd to Heroku and keep getting the following error. We're using Nitrous, and I have configure the mongoDB port to 5000. Any help is appreciated. Thanks a…
H.I
  • 23
  • 2
  • 9
0
votes
1 answer

angular post method with deployd

$scope.addMedication = function(med) { $http.post('/medications', { name: med.name, slug: med.slug, description: med.description }).success(function(medication) { $scope.newMedicationTitle = ''; …
Olga K
  • 91
  • 8
0
votes
1 answer

How to get pushed or pulled element on Deployd

I'm interacting my deployd server app over HTTP. I am adding to an array using $push. Is there a way to get the value pushed to the array? Example: PUT /upvotes/foo { "stories" : {"$push": "bar"} } On Put Script: var pushedElement = ??? // I…
SafaOrhan
  • 690
  • 9
  • 19
0
votes
1 answer

Deployd : adding array data via web UI

How to add array data via web UI under deployd dashboard? It always shows dialog "not valid array". deployd v0.8.5
parzival
  • 1,536
  • 2
  • 19
  • 27
0
votes
1 answer

What is the query to fetch result from database in deployd server?

I am new in delpoyd server and need to validate email address already exist. I read his document but unable to achieve result as expected. According to deployd doc, I was trying this. dpd['to-do'].get(query, function (result) { …
0
votes
1 answer

How to save png image in mongodb with angularjs and deployd

I am working on an app where I need to retrieve images from URLS (for example http://foo.com/bar.png) and save them in mongodb. The app is built using angularjs and uses deployd for the API stuff. Here is the config.js file for the image…
anon_945500
  • 269
  • 3
  • 12
0
votes
2 answers

Is there a way in deployd to map a collection to a different endpoint?

I have a collection called customer_devices and I can't change the name. Can I expose it via deployd as /devices ? How?
Felipe Plets
  • 7,230
  • 3
  • 36
  • 60