Part 1: Saving a table in GameSalad to a MongoDB Atlas instance. Attn: @Hypnorabbit & @nir3112
Part 2: Retrieving the table.
@adriangomez you are simply awesome. I will go through this and see how I go. Thank you so much!
Part 3: Using Mongo Realm instead of Pipedream.
This is the path I am going to take due to convenience and the fact that they give you more free requests. If you plan to move the MongoDB location at some point, I would stay with the original solution. Since it would just require changing the credentials at pipedream to repoint everybody to the new Mongo instance.
@adriangomez I soooo love you right now! thank you!!
there is some way to create login, register and logout with this methods?
@adriangomez so I did the first video but I get TIMEOUT when I test the pipedream I re-checked all my work and its the same as on your video but I got TIMEOUT..
any idea what can be the problem?
sorry I forgot something now its working '^_^
I can see if I can incorporate login/logout. What username and password are they using?
great thanks [=
what do you mean what username and password? username with English letters and password with letters and numbers.
I want to send and receive unique tables to users.
if it can be done with this methods it will be amazing and will solve me a lot of issues.
I think @adriangomez might be asking what system are they logging in and out of? Do you want to manage your own user database or are yo looking to using some other 3rd party authentication system?
Yes exactly what I am asking.
oh ok.. I want it to be like it was on Gamesparks. (I'm not sure what kind of authentication it was exactly)
the user put the user name and password and hit login, then is sends to the server, confirm the data, run the login code and log him in.
I hope I understand the question😅
thanks for the clarification @adent42
@nir3112 To fix the issue you are seeing with the MacCreator, I just updated the script so you can pass the document name. For others reading this, sometimes the table name is not passed from GameSalad (in MacCreator). In my original script, I used the table name value to store the table. Now you can explicitly specify the table name you are saving via the query string.
@nir3112 Fixed: The save table script now correctly switches the value to 1 when successful. I updated the script:
As requested: Part 4 shows how to use a JSON object to store username/password for authentication.
thanks! Already tried that and it’s working[=
Last in the series. Just tying up some loose ends.
Thank you for this. It's exactly what I was looking for to play around with.
@adriangomez Hi. I looked at tutorials today and seems Realm is now App Services. Would you be able to post an update to indicate the options needed to get the same result? Thanks.