Using Mern Stack code for the Mern Tutorial
The render.yaml file is building a small mern application on the "free" tier on Render.com
services:
- type: web
name: mern-stack-example
env: node
plan: free
buildCommand: cd mern/client && npm install && npm run build && mv dist ../server/public
startCommand: cd mern/server && npm install && npm start
envVars:
- key: ATLAS_URI
sync: false
generateValue: false
healthCheckPath: /
The button on the top can be used to deploy this repo into the Render.
Input your Atlas Cluster to integrate the service with MongoDB Atlas.
Local version of the code can be found here:
Use at your own risk; not a supported MongoDB product