Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Parse-server issue with user signUp

$
0
0

@jtanz wrote:

Trying to use the parse-server locally by using the github sample project example. I have it up and running and am trying to connect a sample ionic front end to it. Using the latest js parse sdk build.

//Initialize my Local Host App
Parse.initialize("app");
Parse.serverURL = 'http://localhost:1337/parse';
For some reason User.Parse object is not working when I call the .signUp functionality

var user = new Parse.User();
user.set("username", "bob@bob.com");
user.set("password", "123456");
user.set("email", "bob@bob.com");
user.signUp(null, {
Error I get in console in chrome & firefox is : POST http://localhost:1337/parse/users net::ERR_EMPTY_RESPONSE

.logIn functionality

Parse.User.logIn('bob@bob.com', '123456', { Error I get in console in chrome & firefox is : POST http://localhost:1337/parse/login 404 (Not Found)

And creating a random Message object works just fine

var Message = Parse.Object.extend("Message");
var message = new Message();
message.set("title", "Hi");
message.set("description", "Text here");
message.save(

Is there something I need to do differently with the parse-server with signing up users and logging in users?

The weird part is if I push the parse-server backend into Heroku then it works just fine.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>