ScaffoldHub
Search…
MongoDB

Providers

You can use any provider you want, those are just recommendations.
MongoDB Atlas Database | Multi-Cloud Database Service
MongoDB

Setup

To use ACID transactions, you will have to create the collections first.
Temporarily change the backend/.env credentials to the connection URL.
On the backend, run:
1
npm run db:create
Copied!
Done!
Now revert the database credentials to the localhost ones.

Troubleshooting

Allowed IP addresses

Cloud database providers usually start the database blocking all external connections. You must whitelist the IPs you will use.
In case you want to allow all IPs, the pattern is usually 0.0.0.0/0.
Last modified 1yr ago