Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 17:14
    mistrydhruti commented #882
  • Jan 17 17:13
    mistrydhruti commented #846
  • Jan 17 13:09
    mistrydhruti commented #846
  • Jan 17 13:08
    mistrydhruti commented #846
  • Jan 17 13:06
    mistrydhruti commented #882
  • Nov 20 2020 11:13
    rgolea closed #884
  • Nov 20 2020 11:13
    rgolea commented #884
  • Nov 20 2020 00:14
    kovkev opened #884
  • Nov 19 2020 07:48
    thbl commented #871
  • Oct 19 2020 00:33
    chansdad commented #871
  • Oct 16 2020 19:01
    greenlemur commented #871
  • Oct 15 2020 22:44
    chansdad commented #871
  • Oct 15 2020 19:39
    greenlemur commented #871
  • Oct 02 2020 10:06
    rgolea closed #883
  • Oct 02 2020 10:06
    rgolea commented #883
  • Sep 25 2020 03:33
    ruojianll commented #871
  • Sep 25 2020 03:32
    ruojianll commented #871
  • Sep 24 2020 19:33
    greenlemur commented #871
  • Jul 21 2020 06:33
    ruojianll commented #871
  • Jul 21 2020 06:31
    ruojianll commented #871
Chris D
@CheesecakeCG
@dariuso_gitlab You need to disable mongod in systemctl sudo systemctl stop mongodb.service and sudo systemctl disable mongodb.service
Planum
@Planum
Hi, Can check user using 'Getting the current user' request in server.on('request',...)?
Or how protect static html web page using server.on('request',...)?
Younes Keraressi
@herOwOw
Hey can anybody explains why temp var is not working inside a dpd event cars post, wanted to get all inserted id of cars in array variable but looks like the id is printed to the console but the array still empty :
var tempIds =  [];
dpd.cars.post( {color:red, type:1}, function(res,err){
     if(!err)
        {
          console.log(res.id); //the id ll be printed inthe console
         tempIds.push(res.id)
        }
})

console.log(tempIds); //still empty
Ibrahima Gaye
@ibstelix
Hi @herOwOw because console.log(tempIds); is executed before the post ends (think promise)
Younes Keraressi
@herOwOw
@ibstelix thx mate, how could i miss this “async" i used forEach then inside it call dpd.cars, i tought i was using 2 dpd async inside each other, i tried just to insert characteristics of a single collection in array of ids then get thiere ids and put them inside a colletion cardata then reset ids, thx my bad
Ibrahima Gaye
@ibstelix
Wlecome boss :smile:
Younes Keraressi
@herOwOw
hehe thx to you boss :p
Jimmy Hough Jr.
@jhoughjr
so I'm trying to use some modules but they refer to app.js for configuration and there is no app.js anywhere in the directory
Chris
@chris-aeviator_gitlab

Hi deployd! I'd like to restrict my API so that nobody is able to query my /users collection, therefore I'm implementing

if (!isRoot) {
  cancel("You are not authorized to do that", 401);
}

on /users/get.js but this makes dpd.users.me return null

Carlos Eduardo Bier
@biernaweb_twitter
First, check if dpd.users.me are assigned, after check isRoot.. or test undefined to isRoot, because it's only exists when logged: Equal to true if this request has been authenticated.
kkrishnan90
@kkrishnan90
My deployd instance doesn't seem to run on my server aws.. Any help? I've configured everything correctly and using nodejs forever to run a daemon production.js script.. No error but when i access the url to the dashboard, it keeps loading and finally says err_connection
Any help @rgolea... I've been using this deployd after successfully convincing my client for about 10 days now..
However the local instance of the app runs perfectly well with no error
Can anyone also tell me what's the latest preferred nodejs, npm and mongodb version for the same...
Rares Golea
@rgolea
@kkrishnan90 try not to use the cli
use the tutorial I have on my channel
Omar Juarez
@omarojo
is this still alive ?
kkrishnan90
@kkrishnan90
Yes very well with very few members supporting and answering queries. What's your query ?
kkrishnan90
@kkrishnan90
@rgolea can I install multiple instances of deployd on digital ocean, thereby creating a microservice architecture ?? Has anyone tried this yet ? Please let me know.
Younes Keraressi
@herOwOw
hey is there a way to change the behavior of deployd id's of collection to be something like 00001 and $inc each time on post, its generate alphaNumeric is theres a way to change that?
Steven
@stevenanthonyrevo
@kkrishnan90 I haven’t tried this setup before but seems like it would work. Interested to hear how this goes.
ashad nasim
@ashadnasim52
is there any good tutorial about using deployd
PaulMaly
@PaulMaly
HI!
Try to use Deployd with custom run script described in docs. I can open a dashboad and create some collections, but when I try to add something in collection:
Database connection error
I checked and seems db and user exists
kevev
@kevev
Howdy!
Anyone know how to run local shell commands through deployd?
I have deployd running on a Linux server that contains custom scripts. I need to run these commands depending on the GET path.
Rares Golea
@rgolea
@PaulMaly are you connected to an external mongodb service or the one deployd spawns?
@kevev just like any other way to run scripts in nodejs
@ashadnasim52 check out my channel
Arye Shalev
@pantchox
Hi guys, anyone here fancy help me test a side project i am working on?
Arye Shalev
@pantchox
Hi guys, who ever has a blog or post on Medium stuff that are related to programming, I am working on a new publishing platform, its my side project and i worked reallllly hard on it - I would love for your feedback! if you love publishing and curating content - PLEASE PM ME :) thanks!
Mohit Sapru
@mohitsapru_twitter
Hi, is anyone using dpd.js to access the collections or events on the frontend? I want to understand how you are restricting the complete access to your collections from the JavaScript object instance of dpd it creates on frontend?
Alex Miller
@fotoflo
Hi Guys! Im still using deployd (Deployd CLI v. 2.0.2) with react and dpd-js-sdk. Having trouble when the front end is not served from the public folder - the me variable is not appearing in the server side. Also tried using the fetch API with credentials:include but then facing issues with CORS.
pschoffer
@pschoffer
Hello, this looks like an awesome firebase self-hosted alternative. Is there a reason that it is not actively maintained anymore? Are there some other alternatives people use?
Satnam
@29satnam
There’s Backendless.
Coder of Salvation / Leon van Kammen
@coderofsalvation
I switched to parse-server
Ariel Ivan Ruiz Mateos
@sparkrisp
hi to all! Why is not maintained anymore?
@coderofsalvation but parse create crud apis realtime?
Coder of Salvation / Leon van Kammen
@coderofsalvation
yup
Vianney ANDRE - EVOQUE
@evoqueio
hi there
miguelfrutuoso
@miguelfrutuoso
Hello, I'm learning AngularJS with Pro AngularJS book. At some point they use deployd. I installed it on my computer and mongoDB. I created the project like that: > dpd create sportsstore > cd sportsstore > dpd –p 5500 app.dpd, But when i do this i get this error: "Failed to start MongoDB (Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html)". But i have mongodb om my $PATH
Younes Keraressi
@herOwOw
@pschoffer i like deployd so much , there is alternative, like Loopback or Strapi headless cms for building apis,
pschoffer
@pschoffer
Thanks @herOwOw , I end up trying feathers.js seems quite nice.
Younes Keraressi
@herOwOw
@pschoffer You're wellcome, yeah its cool too, but loopback and strapi are unique :p worth it to try them, im still working with deployd :p its kinda fast
Chaabaniatef
@Chaabaniatef

hi
please help

dpd -m "C:\Program Files\MongoDB\Server\4.2\bin\"
deployd CLI version 2.0.2
starting deployd
Failed to start MongoDB (Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html)

Fernando Rosentalski
@talski
hello guys, there is a flutter lib to use it?
chansdad
@chansdad
I have been looking at loopback , express, feathersjs , and a lot of other frameworks and keep comign back to Deployd for its simplicity . I think on the front end flutter is really good with all the libs available on pub.dev and on the back end i think deployd is a perfect fit , sure we can expose deployed http end points as rest api's with authentication . I thought Meteor framework is one of the good ones , but with all the react , and svelte , and blaze and too many packages .. Deployd really stands out , wish someone takes charge and revives deployd