wontify(bacnked/database/API)
MONGODB_URL = "Your MongoDB URL"
MONGODB_DB_NAME = "Your MongoDB Name"
MONGODB_COLLECTION_NAME = "Your MongoDB collection name"
MONGODB_SERVER_USER = "Your MongoDB server user"
MONGODB_SERVER_PASSWORD = "Your MongoDB server password"
- move to the functions directory
- Check your package.json scripts to see if the build command is
"build": "netlify deploy --prod"
- Create netlify.toml on the root and follow copy/paste this into your netlify.toml.
[build]
functions = "functions"
- Run build to trigger netlify build