ScaffoldHub
Search…
ScaffoldHub
Introduction
Modeling
Setup
Debugging
Deployment
Database
SQL
MongoDB
Backend
Frontend
Features
Architecture
Recipes
Support
Changelog
Custom Development
Legacy Scaffolds
Go to ScaffoldHub
Powered By
GitBook
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
.
Previous
SQL
Next
Backend
Last modified
1yr ago
Copy link
Contents
Providers
Setup
Troubleshooting
Allowed IP addresses