parse-server

Where is Parse REST API key?

独自空忆成欢 提交于 2019-12-13 07:11:07
问题 I'm following this guide on connecting to my Parse server in Flask app. https://parseplatform.github.io/docs/rest/guide/ I have searched lot of forums but none of them tells where I can find the Parse REST API Key. My config vars doesn't have it. All I can find is, App ID, client key and server URL 回答1: if you are just connecting to your local server, use whatever you want. Add it to the file where you got your other IDs. All the best, and I recommend using ParsePy as that will make working

Parse-server: iOS Push notification

橙三吉。 提交于 2019-12-13 07:01:15
问题 I'm trying to make a push notification, I had set my .p12 files in parse-server/certs folder. Here is my code in my index.js: var api = new ParseServer({ databaseURI: process.env.DATABASE_URI || 'mongodb://localhost:27017/dev', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: 'xx', masterKey: 'xx', fileKey: 'xx', clientKey: 'xx', serverURL: 'xx', push: { ios: [ { pdx: 'certs/ParsePushDevelopmentCertificate.p12', // Dev PFX or P12 bundleId: 'bundleId', production:

Get all classes in Parse-server

廉价感情. 提交于 2019-12-13 05:51:44
问题 I'm writing a backup job, and need to fetch all classes in Parse-server, so I can then query all rows and export them. How do I fetch all classes? Thanks 回答1: Query the schemas collection. GET /parse/schemas Probably need to use the masterkey on the query. Not sure what language you're writing your job in but should be simple for you to create a REST query or create a node.js script and use the javascript/node api --Added after comment below -- var Parse = require('parse/node').Parse; Parse

Parse-server/Heroku email account verification not working

一笑奈何 提交于 2019-12-13 04:01:14
问题 I am trying to implement the email verification system on Parse-Server (/Heroku), when a user account is created; so that the user can confirm his/her account creation. Things are working well for those matters: I can create a working account. The user receives the verification email that is expected. The problem is this: When the user clicks on the link inside the verification email. This is what appears in the browser: {"error":"unauthorized"} Has anyone seen a similar issue and knows how

Parse-Server, email-verification bug?

二次信任 提交于 2019-12-13 03:47:44
问题 I have been stuck longer than I would like, with a problem related to email verification when creating an account on Parse-Server (/Heroku). Though I made a few post on the issue, I was not lucky enough (or maybe did not formulate things clearly enough) to get significant help. So I decided to do it all over again, this time giving a precise step by step way to reproduce the bug, for anyone interested in taking a close look. If what I do is right from start to end, then there must be a bug.

Build failing, Parse-Server/Pod/Bolts

泄露秘密 提交于 2019-12-13 03:16:56
问题 I'm using Parse-Server/Heroku and just installed the pod for Parse in an iOS project of mine (written in objective C). I am using Xcode Version 9.2 and pod version 1.3.1. The macOS is High Sierra Version 10.13.2. When I try to build the project, I get this error: ld: library not found for -lBolts clang: error: linker command failed with exit code 1 (use -v to see invocation) But Bolts seems to be installed, as a dependency when I run pod install . Any idea about what I can do to solve the

Problems with parse Query in ParseObject

让人想犯罪 __ 提交于 2019-12-13 03:09:12
问题 I'm having trouble with this query. What i want to accomplish here is according to the idChatSeleccionadoAppUsuario(KYLmvSGP1…) i can have all the messages and User(Usuario) inside the list. This is what i have tried so far: ParseQuery<ParseObject> query = ParseQuery.getQuery("Conversaciones"); queryChat=ParseObject.createWithoutData("Chat",idChatSeleccionadoAppUsuario); query.whereEqualTo("ChatId", queryChat); query.include("Usuario"); query.include("ChatId"); query.findInBackground(new

Parse Cloud Right Query to retrieve Friendslist and not (like Instagram)

最后都变了- 提交于 2019-12-13 03:08:53
问题 I have the class "Users" the default of Parse Dashboad. I have also the class "Friends", where I store the friendships between users like this: There are two columns, "toUser" and "fromUser", which are showing who of the two users sent the friend request. These two columns are Pointers(Pointer<_User>) to the Users Class. My concept is to retrieve two lists: 1. Friendlist for the logged in user 2. Userlist of users (who are not friends with the logged in user) What would be the appropriate

Mandrill with parse server not working on heroku migration

痞子三分冷 提交于 2019-12-13 01:43:39
问题 I have migrate app from parse.com to heroku with mLab and everything works fine except cloud code. I am using Mandrill for sending email from parse cloud code which is not working with heroku Here is what I have done so far: Installed mandrill ~0.1.0 into parse-server-example and push the code to heroku app Put the cloud code into '/cloud/main.js' Called the function from iOS app which respond error as: [Error]: Invalid function. (Code: 141, Version: 1.13.0). Here is my code script: Parse

Cannot remove audio data on AWS-S3 in a Parse-Server app

给你一囗甜甜゛ 提交于 2019-12-13 01:24:28
问题 I am having some hard time to make things work properly while using AWS-S3 with Parse-Server on Heroku . On AWS, I have an S3 bucket called mybucket and a user called mybucket-aws with this policy associated: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::mybucket", "arn:aws:s3:::mybucket/*" ] } ] } Beside, on Heroku I have a parse-server set like this: var express = require('express'); var ParseServer = require('parse-server')