Shawn
Posts: 0
Joined: Sat Jun 21, 2014 11:13 pm

Testing with an external MongoDB hosted service

Hi

I'm planning to launch an alpha version of an App and wanted to migrate my DB to a hosted MongoDB service and test speed and performance etc.

How do I make this switch ? How do I change the Database URL in my App ?

rgds
shawn

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Testing with an external MongoDB hosted service

Hello Shawn,

In Appery.io REST services are used to communicate with the DB. To connect to external MongoDB you need to use the corresponding REST API. You should look at the documentation of this service. Here is a link to how you can configure REST service in Appery.io:
http://devcenter.appery.io/documentat...

Shawn
Posts: 0
Joined: Sat Jun 21, 2014 11:13 pm

Testing with an external MongoDB hosted service

Hi Evgene

Are you suggesting we rewrite all DB access calls ?
That doesn't seem correct.

Given that both are MongoDB accessed through REST API
why does this need to be rewritten ? Cant we just change
Mongo DB URI ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Testing with an external MongoDB hosted service

Hi Shawn,

Unfortunatly Appery.io currently not support this feature(change DB source).

So if you willing to change DB you need use external api for this DB.

Regards.

Return to “Issues”