Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question of previous usage and possible feature with parse-server #977

Closed
footcow opened this issue Mar 11, 2016 · 1 comment
Closed

Question of previous usage and possible feature with parse-server #977

footcow opened this issue Mar 11, 2016 · 1 comment

Comments

@footcow
Copy link

footcow commented Mar 11, 2016

Hi,

Sorry this is not an issue, but a simple question.
We used to create via API our apps dynamicaly and we had something like 100 apps on our accounts.

If I install a parse-server, I have done the migration of one of our app. OK, perfect, but for this I run an instance of parse-server with a command line like :
npm start -- --appId foo --masterKey MyMasterKey --serverURL http://localhost:1337/parse --databaseURI mongodb://localhost:27017/foo

Like this I can access through the API to my foo database perfect with a command like :
curl -H "X-Parse-Application-Id: foo" http://tappublisher.fr:1337/parse/classes/Location

Now I want to add the other apps we have ...
And I'm a little stalled here ...
Will we have to launch an instance of parse-server for each app ?
How can I get a server configuration comparable to the parse.com one, where I'm able to create dynamicaly as many app as I need ?
Is this possible ?

Hope I'm clear in my request, and hope somebody will be able to give me an answer.
Cheer,

@flovilmart
Copy link
Contributor

We don't support multiple apps for the moment on a single parse-server, I've tried to make it happen but cloud code support is too complex for many reasons, and I closed my PR. You could start from here. But we can't guarantee stability nor support for that as you'd be on your own with that development #263

Contributions are always welcome if you crack it!

Right now, your best options are to run multiple parse-server processes on different port, with specific database configurations for each.
As for app creation you could write a script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants