Reputation: 187
I only need to use Parse sever cloud functions, How can I run parse server without mongodB
Upvotes: 0
Views: 965
Reputation: 5469
You cannot run a Parse Server instance without a database. For example, Parse store login session into the database
According to the documentation you have two choices of databases:
So if you do not want to use MongoDb you have to use Postgres
Here is the difference between theses two databases
If you want to change your database from a MongoDb to a Postgres, you just have to change the configuration:
var api = new ParseServer({
databaseURI: 'postgres://my.awesome.postgres.uri',
});
Hope my answer help you 😊
Upvotes: 2