Skip to content

Instantly share code, notes, and snippets.

@gabrielEloy
Created Jun 23, 2021
Embed
What would you like to do?
services/parse.js
//at services/parse.js
import Parse from 'parse';
//checking if env is browser
if (typeof window !== "undefined") {
Parse.initialize("APP_ID","JS_KEY");
Parse.serverURL = 'https://parseapi.back4app.com/';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment