Migrating to self hosted server

Hi @cryptokid , we are migrating to self hosted server as I read somewhere in the forum that moralis will no longer support server in the dashboard.

How can I use moralis-v1 with self-hosted server? Is it possible?

if you are using parse server to migrate to self hosted, then moralis v1 sdk can be used in front end similar to how it was used before, the authentication part will be different, there are examples in documentation for the authentication:

Okay thanks @cryptokid, will check this out.

2 Likes

Hey @cryptokid,
I am trying to deploy my Node+Express app on vercel which has the Parse server package used. Its throwing me this error.

My vercel,json file

  "version": 2,
  "builds": [
    {
      "src": "build/index.js",
      "use": "@vercel/node",
      "config": { "includeFiles": ["build/**"] }
    }
  ],
  "routes": [
    {
      "src": "/(.*)",
      "dest": "build/index.js"
    }
  ]
}

Can you help me out in this?

it is working without issues locally?
I didn’t see that error before

Yeah locally I tested, its working fine. I tried commenting the parse-server code and uploaded again on vercel it worked.

But with parse-server code its breaking.

you are trying to use Postgres instead of mongo db? that error seems to be related to Postgres somehow

Umm…No I am not using Postgres, using MongoDB only. But yeah somehow its throwing inside from the node modules.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.